LSP has a lot of functionality that I would benefit from taking advantage of, this adds bindings for a bunch of that and which-key support so I can figure out which key does what. Signed-off-by: Nicholas Mello <nick@nmello.dev>
20 lines
355 B
Lua
20 lines
355 B
Lua
return {
|
|
"folke/which-key.nvim",
|
|
event = "VeryLazy",
|
|
opts = {
|
|
triggers = { "<leader>", " " },
|
|
defaults = {
|
|
["<leader>d"] = { name = "+LSP" },
|
|
},
|
|
},
|
|
keys = {
|
|
{
|
|
"<leader>?",
|
|
function()
|
|
require("which-key").show({ global = false })
|
|
end,
|
|
desc = "Buffer Local Keymaps (which-key)",
|
|
},
|
|
},
|
|
}
|