nvim: remove lspsaga jump do diagnostic
This commit is contained in:
parent
ec7153193b
commit
1ce7cac540
@ -30,9 +30,6 @@ return {
|
|||||||
map('K', '<cmd>Lspsaga hover_doc<CR>', 'Hover Documentation')
|
map('K', '<cmd>Lspsaga hover_doc<CR>', 'Hover Documentation')
|
||||||
map('<leader>K', vim.lsp.buf.signature_help, 'Signature Documentation')
|
map('<leader>K', vim.lsp.buf.signature_help, 'Signature Documentation')
|
||||||
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
|
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
|
||||||
vim.keymap.set('n', '[d', '<cmd>Lspsaga diagnostic_jump_prev<CR>',
|
|
||||||
{ desc = 'Go to previous [D]iagnostic message' })
|
|
||||||
vim.keymap.set('n', ']d', '<cmd>Lspsaga diagnostic_jump_next<CR>', { desc = 'Go to next [D]iagnostic message' })
|
|
||||||
|
|
||||||
-- Highlight references under cursor (clear highlight when cursor moves).
|
-- Highlight references under cursor (clear highlight when cursor moves).
|
||||||
local client = vim.lsp.get_client_by_id(event.data.client_id)
|
local client = vim.lsp.get_client_by_id(event.data.client_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user