nvim: LSP hover keybinding update

This commit is contained in:
Václav Uruba 2025-10-08 20:21:13 +02:00
parent ba13df8802
commit af9e9ffe53
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -47,7 +47,7 @@ return {
end, opts) -- jump to next diagnostic in buffer
opts.desc = "Show documentation for what is under cursor"
keymap.set("n", "<leader>ch", vim.lsp.buf.hover, opts) -- show documentation for what is under cursor
keymap.set("n", "gh", vim.lsp.buf.hover, opts) -- show documentation for what is under cursor
opts.desc = "Restart LSP"
keymap.set("n", "<leader>cx", ":LspRestart<CR>", opts) -- mapping to restart lsp if necessary