1
0
Fork 0

nvim: add hover shortcut for insert mode

This commit is contained in:
tastytea 2022-08-17 04:06:30 +02:00
parent 6d81305669
commit d89019ae67
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -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,