mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 10:48:45 +02:00
feat(defaults): new installs now default to snacks picker/explorer. Existing installs don't change.
This commit is contained in:
parent
b4c24a3fe8
commit
25d90b54a3
3 changed files with 19 additions and 7 deletions
|
@ -81,7 +81,7 @@ end
|
|||
function M.fix_imports()
|
||||
local defaults ---@type table<string, LazyVimDefault>
|
||||
Plugin.Spec.import = LazyVim.inject.args(Plugin.Spec.import, function(_, spec)
|
||||
if LazyVim.config.json_loaded then
|
||||
if LazyVim.config.json.loaded then
|
||||
-- extra disabled by defaults?
|
||||
defaults = defaults or LazyVim.config.get_defaults()
|
||||
local def = defaults[spec.import]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue