feat(pick)!: make fzf the default picker for LazyVim

This commit is contained in:
Folke Lemaitre 2024-12-12 06:55:18 +01:00
parent 69e8867a0f
commit 3d242774d0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -45,7 +45,7 @@ end
function M.want()
vim.g.lazyvim_picker = vim.g.lazyvim_picker or "auto"
if vim.g.lazyvim_picker == "auto" then
return LazyVim.has_extra("editor.fzf") and "fzf" or "telescope"
return LazyVim.has_extra("editor.telescope") and "telescope" or "fzf"
end
return vim.g.lazyvim_picker
end