nvim: add hover shortcut for insert mode
This commit is contained in:
parent
6d81305669
commit
d89019ae67
|
@ -15,7 +15,7 @@ local on_attach = function(client, bufnr)
|
|||
bufnr)
|
||||
map('n', 'gr', vim.lsp.buf.references, 'Show references', bufnr)
|
||||
map('n', 'K', vim.lsp.buf.hover, 'Hover', bufnr)
|
||||
map('n', '<C-k>', vim.lsp.buf.signature_help, 'Show signature', bufnr)
|
||||
map('i', '<C-K>', vim.lsp.buf.hover, 'Hover', bufnr)
|
||||
map('n', '<Leader>lwa', vim.lsp.buf.add_workspace_folder,
|
||||
'Add workspace folder', bufnr)
|
||||
map('n', '<Leader>lwr', vim.lsp.buf.remove_workspace_folder,
|
||||
|
|
Loading…
Reference in New Issue