From 8886b1807c4c0fd96558f198e4fc8cf962a7cc5b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 20 Apr 2024 09:06:49 -0700 Subject: refactor(lua): "module" => "M" #28426 Most of the codebase uses the `M` convention for Lua module. Update the last remaining cases. --- src/nvim/ex_cmds.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index e2196f99ec..520637f5b3 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -1,6 +1,6 @@ local bit = require 'bit' -local module = {} +local M = {} -- Description of the values below is contained in ex_cmds_defs.h file. -- "EX_" prefix is omitted. @@ -32,14 +32,14 @@ local FILES = bit.bor(XFILE, EXTRA) local WORD1 = bit.bor(EXTRA, NOSPC) local FILE1 = bit.bor(FILES, NOSPC) -module.flags = { +M.flags = { RANGE = RANGE, DFLALL = DFLALL, PREVIEW = PREVIEW, } -- The following table is described in ex_cmds_defs.h file. -module.cmds = { +M.cmds = { { command = 'append', flags = bit.bor(BANG, RANGE, ZEROR, TRLBAR, CMDWIN, LOCK_OK, MODIFY), @@ -3359,4 +3359,4 @@ module.cmds = { }, } -return module +return M -- cgit