mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor: split autoload in autoload and check_load
This commit is contained in:
parent
f23a6eef8c
commit
e897524b1f
2 changed files with 26 additions and 17 deletions
|
@ -36,7 +36,7 @@ function M.check_load(modname, modpath)
|
|||
if modname:sub(1, 4) == "lazy" then
|
||||
return
|
||||
end
|
||||
require("lazy.core.loader").autoload(modname, modpath)
|
||||
require("lazy.core.loader").check_load(modname, modpath)
|
||||
end
|
||||
|
||||
function M.disable()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue