nvim: Change Lsp info mapping to vim layer

Moved the mapping to show lsp info window from `<localleader>li` to
`<leader>vs`.
Local leader +l mappings should be reserved for lsp functionality,
while we have a whole +v layer to grab (meta) information about our
vim installation. It fits in there much better.
This commit is contained in:
Marty Oehme 2023-12-08 17:02:16 +01:00
parent 293dc8a467
commit 49692601da
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 5 additions and 1 deletions

View file

@ -60,7 +60,6 @@ local function on_attach(client, bufnr)
)
require("which-key").register({ ["<localleader>l"] = { name = "+lsp" } })
map("n", "<localleader>li", "<cmd>LspInfo<cr>", { buffer = bufnr, desc = "Lsp Info" })
map(
"n",
"<localleader>ld",

View file

@ -65,6 +65,11 @@ return {
config = function()
require("plugins.config.lsp")
end,
keys = { {
"<leader>vs",
":LspInfo<cr>",
desc = "LspInfo",
} },
},