Removed LSP saga hover, using native nvim one

This commit is contained in:
2025-08-27 01:21:21 +03:00
parent 67bcbc5530
commit 117f102c86
2 changed files with 5 additions and 2 deletions

View File

@@ -100,9 +100,10 @@ local function cursor_diagnostics()
end
local keymaps = {
-- TODO: replace goto def with normal goto def or do I like the red thing?
{ 'n', 'gd', '<cmd>Lspsaga goto_definition<cr>', { desc = '[G]oto [D]efinition' } },
-- TODO: replace goto def with normal goto def or do I like the red thing? (maybe picker?)
{ 'n', 'gu', '<cmd>Lspsaga finder<cr>', { desc = '[G]oto [U]sages' } },
{ 'n', 'K', '<cmd>Lspsaga hover_doc<cr>', { desc = 'Documentation' } },
{ { 'n', 'i' }, '<C-p>', function() vim.lsp.buf.signature_help() end, { desc = 'Show [P]arameters' } },
{ 'n', 'R', '<cmd>Lspsaga rename<cr>', { desc = '[R]ename' } },
{ { 'n', 'i' }, '<M-Enter>', '<cmd>Lspsaga code_action<cr>', { desc = 'Code Actions' } },

View File

@@ -1,4 +1,7 @@
return {
-- TODO: see what I don't need from here
-- maybe I can just fork the renaming and change
-- it a bit to my linking?
-- 'nvimdev/lspsaga.nvim',
'Kyren223/lspsaga.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
@@ -10,7 +13,6 @@ return {
title = false,
kind = nil,
},
hover = { open_cmd = '!firefox.exe' },
diagnostic = {
show_layout = 'float',
keys = {