mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 01:38:54 +02:00
fix(extras): disable import handling when loading :LazyExtras
+ changed some recommendations
This commit is contained in:
parent
66981fe5b2
commit
121a2e27ef
5 changed files with 23 additions and 23 deletions
|
@ -83,6 +83,7 @@ end
|
|||
---@param modname string
|
||||
---@param source LazyExtraSource
|
||||
function M.get_extra(source, modname)
|
||||
LazyVim.plugin.handle_defaults = false
|
||||
local enabled = vim.tbl_contains(M.state, modname)
|
||||
local spec = Plugin.Spec.new(nil, { optional = true, pkg = false })
|
||||
spec:parse({ import = modname })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue