mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(spec): added import
to import other plugin modules
This commit is contained in:
parent
313015fdb4
commit
919b7f5de3
7 changed files with 74 additions and 46 deletions
|
@ -17,7 +17,7 @@ function M.enable()
|
|||
if M.timer then
|
||||
M.timer:stop()
|
||||
end
|
||||
if #Config.parsed.modules > 0 then
|
||||
if #Config.spec.modules > 0 then
|
||||
M.timer = vim.loop.new_timer()
|
||||
M.root = vim.fn.stdpath("config") .. "/lua"
|
||||
M.check(true)
|
||||
|
@ -55,7 +55,7 @@ function M.check(start)
|
|||
end
|
||||
end
|
||||
|
||||
for _, modname in ipairs(Config.parsed.modules) do
|
||||
for _, modname in ipairs(Config.spec.modules) do
|
||||
Util.lsmod(modname, check)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue