nvim: lsp: Drop mapping for hover

K is mapped to hover by default now. So let's drop our own mapping
and just use K.
This commit is contained in:
Sanchayan Maity 2023-07-15 09:46:05 +05:30
parent 6313ece287
commit 95bbaa2b97
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -56,7 +56,6 @@ local lsp_key_mappings = {
{ "textDocument/implementation" , 'n', 'gD' , '<cmd>lua vim.lsp.buf.implementation()<CR>' },
{ "textDocument/documentSymbol" , 'n', '1gd' , '<cmd>lua vim.lsp.buf.document_symbol()<CR>' },
{ "workspace/symbol" , 'n', '1gD' , '<cmd>lua vim.lsp.buf.workspace_symbol()<CR>' },
{ "textDocument/hover" , 'n', '<Leader>k', '<cmd>lua vim.lsp.buf.hover()<CR>' },
{ "textDocument/signatureHelp" , 'n', '<Leader>S', '<cmd>lua vim.lsp.buf.signature_help()<CR>' },
{ "textDocument/rename" , 'n', 'gR' , '<cmd>lua vim.lsp.buf.rename()<CR>' },
{ "textDocument/inlayHint" , 'n', 'gi' , '<cmd>lua vim.lsp.inlay_hint(0, nil)<CR>' },