which key v3 mapping

This commit is contained in:
Daveanand Mannie
2024-09-04 14:11:15 -04:00
parent 4c1032848a
commit 477501e7de
3 changed files with 12 additions and 16 deletions

View File

@@ -1,14 +1,13 @@
return {
{
"folke/which-key.nvim",
config = function()
local wk = require("which-key")
wk.add(
{
{ "<leader>cL", ":LspRestart<CR>", desc = "Restart LSP", icon= ""},
}
)
end,
opts = {
spec = {
{ "<leader>cL", "<cmd>LspRestart<CR>", icon = "🔄" },
},
win = {
no_overlap = false,
},
},
},
}