chore: Rename module table to M
That seems to be the de facto naming for module table on neovim related stuff
This commit is contained in:
parent
88ec2ffdd7
commit
4d443c4419
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
local RT = {}
|
||||
local M = {}
|
||||
|
||||
function RT.getch_lazy_nvim() -- Get or Fetch lazy.nvim
|
||||
function M.getch_lazy_nvim() -- Get or Fetch lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
|
@ -17,7 +17,7 @@ function RT.getch_lazy_nvim() -- Get or Fetch lazy.nvim
|
|||
return require("lazy")
|
||||
end
|
||||
|
||||
function RT.map(modes, key, target, opts)
|
||||
function M.map(modes, key, target, opts)
|
||||
local mt = {}
|
||||
|
||||
for mode in modes:gmatch"." do
|
||||
|
@ -30,4 +30,4 @@ function RT.map(modes, key, target, opts)
|
|||
})
|
||||
end
|
||||
|
||||
return RT
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue