feat(lsp): use lsp_config picker instead of LspInfo

This commit is contained in:
Folke Lemaitre 2025-02-11 14:00:01 +01:00
parent 7fe0b47f17
commit 7529773371
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -13,7 +13,7 @@ function M.get()
end end
-- stylua: ignore -- stylua: ignore
M._keys = { M._keys = {
{ "<leader>cl", "<cmd>LspInfo<cr>", desc = "Lsp Info" }, { "<leader>cl", function() Snacks.picker.lsp_config() end, desc = "Lsp Info" },
{ "gd", vim.lsp.buf.definition, desc = "Goto Definition", has = "definition" }, { "gd", vim.lsp.buf.definition, desc = "Goto Definition", has = "definition" },
{ "gr", vim.lsp.buf.references, desc = "References", nowait = true }, { "gr", vim.lsp.buf.references, desc = "References", nowait = true },
{ "gI", vim.lsp.buf.implementation, desc = "Goto Implementation" }, { "gI", vim.lsp.buf.implementation, desc = "Goto Implementation" },