aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-04-20 09:06:49 -0700
committerGitHub <noreply@github.com>2024-04-20 09:06:49 -0700
commit8886b1807c4c0fd96558f198e4fc8cf962a7cc5b (patch)
tree0f20daf8c906165e69e5583dff96ac13cadf7467 /src/nvim/ex_cmds.lua
parentf190f758ac58d9cc955368e047b070e0a2261033 (diff)
downloadrneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.tar.gz
rneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.tar.bz2
rneovim-8886b1807c4c0fd96558f198e4fc8cf962a7cc5b.zip
refactor(lua): "module" => "M" #28426
Most of the codebase uses the `M` convention for Lua module. Update the last remaining cases.
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r--src/nvim/ex_cmds.lua8
1 files changed, 4 insertions, 4 deletions
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