mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(pick): allow configuring pickers without LazyExtras. Fixes #3626
This commit is contained in:
parent
c9380a309d
commit
304e7439aa
5 changed files with 42 additions and 2 deletions
|
@ -301,13 +301,13 @@ return {
|
|||
{
|
||||
import = "lazyvim.plugins.extras.editor.fzf",
|
||||
enabled = function()
|
||||
return LazyVim.has_extra("editor.fzf")
|
||||
return LazyVim.pick.want() == "fzf"
|
||||
end,
|
||||
},
|
||||
{
|
||||
import = "lazyvim.plugins.extras.editor.telescope",
|
||||
enabled = function()
|
||||
return not LazyVim.has_extra("editor.fzf")
|
||||
return LazyVim.pick.want() == "telescope"
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue