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:
parent
293dc8a467
commit
49692601da
2 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,6 @@ local function on_attach(client, bufnr)
|
||||||
)
|
)
|
||||||
|
|
||||||
require("which-key").register({ ["<localleader>l"] = { name = "+lsp" } })
|
require("which-key").register({ ["<localleader>l"] = { name = "+lsp" } })
|
||||||
map("n", "<localleader>li", "<cmd>LspInfo<cr>", { buffer = bufnr, desc = "Lsp Info" })
|
|
||||||
map(
|
map(
|
||||||
"n",
|
"n",
|
||||||
"<localleader>ld",
|
"<localleader>ld",
|
||||||
|
|
|
@ -65,6 +65,11 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.config.lsp")
|
require("plugins.config.lsp")
|
||||||
end,
|
end,
|
||||||
|
keys = { {
|
||||||
|
"<leader>vs",
|
||||||
|
":LspInfo<cr>",
|
||||||
|
desc = "LspInfo",
|
||||||
|
} },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue