nvim: LSP hover keybinding update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user