Skip to content

Commit 9fb708f

Browse files
authored
fix(laravel): picker not getting defined correctly (#1463)
1 parent b27e537 commit 9fb708f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

lua/astrocommunity/pack/laravel/init.lua

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ return {
2929
event = { "VeryLazy" },
3030
opts = function(_, opts)
3131
local is_available = require("astrocore").is_available
32-
opts.pickers = { enable = true }
33-
opts.pickers.provider = (is_available "telescope.nvim" and "telescope")
34-
or (is_available "fzf-lua" and "fzf-lua")
35-
or (is_available "snacks.nvim" and "snacks")
36-
or "ui.select"
32+
opts.features = {
33+
pickers = {
34+
enable = true,
35+
provider = (is_available "telescope.nvim" and "telescope")
36+
or (is_available "fzf-lua" and "fzf-lua")
37+
or (is_available "snacks.nvim" and "snacks")
38+
or "ui.select",
39+
},
40+
}
3741
end,
3842
},
3943
{

0 commit comments

Comments
 (0)