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:
Justin M. Keyes
2024-04-20 09:06:49 -07:00
committed by GitHub
parent f190f758ac
commit 8886b1807c
5 changed files with 233 additions and 233 deletions

View File

@@ -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