refactor(git): adopt lazy-require plugin/git.lua pattern
This commit is contained in:
@@ -15,6 +15,10 @@ for _, lua_dir in ipairs(vim.fn.glob(opt .. "/*/lua", false, true)) do
|
||||
.. (";" .. lua_dir .. "/?/init.lua")
|
||||
end
|
||||
|
||||
for _, f in ipairs(vim.fn.glob(cfg .. "/plugin/*.lua", false, true)) do
|
||||
dofile(f)
|
||||
end
|
||||
|
||||
local t = require("test")
|
||||
|
||||
---@param target string
|
||||
|
||||
Reference in New Issue
Block a user