nvim: LSP hover keybinding update

This commit is contained in:
2025-10-08 20:21:13 +02:00
parent ba13df8802
commit af9e9ffe53

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