diff --git a/lazy-lock.json b/lazy-lock.json index d12b9e4..5398959 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -8,7 +8,6 @@ "codecompanion.nvim": { "branch": "main", "commit": "86118411be00f0451a59c5ef7972c437e979e1b7" }, "conform.nvim": { "branch": "master", "commit": "016802de402556da54c36bd7359b441266b01cdd" }, "dracula.nvim": { "branch": "main", "commit": "ae752c13e95fb7c5f58da4b5123cb804ea7568ee" }, - "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, "flash.nvim": { "branch": "main", "commit": "5f0f270fdc7c5b0c21d903ee85b9cb06f2ac636a" }, "friendly-snippets": { "branch": "main", "commit": "b4d01b0fdf3c9a549961c2f9ffe8dc09be166219" }, "gitsigns.nvim": { "branch": "main", "commit": "eb60cc7b94c46005237fd34170d76f3a089a90aa" }, @@ -37,8 +36,6 @@ "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, "render-markdown.nvim": { "branch": "main", "commit": "8e8795368391036643b622875a6da6a51bcd33f4" }, "snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" }, - "telescope-fzf-native.nvim": { "branch": "main", "commit": "b25b749b9db64d375d782094e2b9dce53ad53a40" }, - "telescope.nvim": { "branch": "master", "commit": "40aedd8a68c78a656a10a8d62d80c54af59420fb" }, "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, "ts-comments.nvim": { "branch": "main", "commit": "a59d6092213447450191122c9346f309161504cb" }, diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index e3c77a9..8d54960 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -71,8 +71,13 @@ lazy.setup({ { import = "lazyvim.plugins.lsp.init" }, { import = "lazyvim.plugins.treesitter" }, { import = "lazyvim.plugins.util" }, + -- The snacks picker extra (vim.g.lazyvim_picker = "snacks") adds a + -- "Projects" entry to opts.dashboard, which only lazyvim.plugins.ui + -- defines -- not imported here, so it would index nil. Give it an + -- empty, disabled dashboard to append to; has to come before xtras + -- so it is merged in before that extra's opts function runs. + { "folke/snacks.nvim", opts = { dashboard = { enabled = false, preset = { keys = {} } } } }, { import = "lazyvim.plugins.xtras" }, - { import = "lazyvim.plugins.extras.editor.telescope" }, { import = "lazyvim.plugins.extras.coding.nvim-cmp" }, { import = "lazyvim.plugins.extras.coding.luasnip" }, { import = "lazyvim.plugins.extras.lsp.none-ls" }, diff --git a/lua/config/options.lua b/lua/config/options.lua index f037829..ad03493 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -22,7 +22,7 @@ local gopts = { snacks_animate = false, lazyvim_cmp = "nvim-cmp", trouble_lualine = false, - lazyvim_picker = "telescope", + lazyvim_picker = "snacks", } for k, v in pairs(gopts) do