mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-25 18:28:50 +02:00
style(snacks): descriptions for LSP pickers
This commit is contained in:
parent
4e8bf608a8
commit
78576c1fa1
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue