nvim: remove lspsaga jump do diagnostic

This commit is contained in:
Łukasz Pankowski 2024-06-15 13:51:23 +02:00
parent ec7153193b
commit 1ce7cac540

View File

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