feat(spec): added import to import other plugin modules

This commit is contained in:
Folke Lemaitre 2023-01-02 09:44:09 +01:00
parent 313015fdb4
commit 919b7f5de3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
7 changed files with 74 additions and 46 deletions

View file

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