mirror of
https://github.com/neovim/neovim.git
synced 2026-04-27 17:54:10 +00:00
refactor(lua): "module" => "M" #28426
Most of the codebase uses the `M` convention for Lua module. Update the last remaining cases.
This commit is contained in:
@@ -877,7 +877,7 @@ local function is_asan()
|
||||
end
|
||||
|
||||
--- @class test.unit.testutil.module
|
||||
local module = {
|
||||
local M = {
|
||||
cimport = cimport,
|
||||
cppimport = cppimport,
|
||||
internalize = internalize,
|
||||
@@ -907,6 +907,6 @@ local module = {
|
||||
is_asan = is_asan,
|
||||
}
|
||||
--- @class test.unit.testutil: test.unit.testutil.module, test.testutil
|
||||
module = vim.tbl_extend('error', module, t_global)
|
||||
M = vim.tbl_extend('error', M, t_global)
|
||||
|
||||
return module
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user