feat(nvim): Add support for which key

This commit is contained in:
js0ny 2025-01-14 19:44:55 +00:00
parent 9b90b02442
commit 1b2fc3015b
21 changed files with 276 additions and 206 deletions

View file

@ -0,0 +1,8 @@
local M = {
{ keys = "gd", cmd = vim.lsp.buf.definition, opts = { desc = "Goto Definition" } },
{ keys = "gD", cmd = vim.lsp.buf.declaration, opts = { desc = "Goto Declaration" } },
{ keys = "gr", cmd = vim.lsp.buf.references, opts = { desc = "Goto References" } },
{ keys = "gi", cmd = vim.lsp.buf.implementation, opts = { desc = "Goto Implementation" } },
}
return M