mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat: lazy setup with either a plugins module, or a plugins spec
This commit is contained in:
parent
f0894be69d
commit
af8b8e128e
8 changed files with 54 additions and 53 deletions
|
@ -127,6 +127,7 @@ function M.handlers.module(grouped)
|
|||
if plugins then
|
||||
grouped[name] = nil
|
||||
local reason = { require = modname }
|
||||
-- almost never happens, so this does not decrease performance
|
||||
if #Loader.loading == 0 then
|
||||
local f = 3
|
||||
while not reason.source do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue