style(snacks): descriptions for LSP pickers
This commit is contained in:
1 file changed
+4
-4
@@ -80,10 +80,10 @@ return {
|
||||
local Keys = require("lazyvim.plugins.lsp.keymaps").get()
|
||||
-- stylua: ignore
|
||||
vim.list_extend(Keys, {
|
||||
{ "gd", function() Snacks.picker.lsp_definitions() end },
|
||||
{ "gr", function() Snacks.picker.lsp_references() end, nowait = true },
|
||||
{ "gI", function() Snacks.picker.lsp_implementations() end },
|
||||
{ "gy", function() Snacks.picker.lsp_type_definitions() end },
|
||||
{ "gd", function() Snacks.picker.lsp_definitions() end, desc = "Goto Definition", has = "definition" },
|
||||
{ "gr", function() Snacks.picker.lsp_references() end, nowait = true, desc = "References" },
|
||||
{ "gI", function() Snacks.picker.lsp_implementations() end, desc = "Goto Implementation" },
|
||||
{ "gy", function() Snacks.picker.lsp_type_definitions() end, desc = "Goto T[y]pe Definition" },
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user