From 117f102c8623bacdd7e9deb2b9b6bf0ec13274ec Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 27 Aug 2025 01:21:21 +0300 Subject: Removed LSP saga hover, using native nvim one --- .config/nvim/lua/keymaps.lua | 3 ++- .config/nvim/lua/plugins/lspsaga.lua | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index a81752d..f12ec1c 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -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', 'Lspsaga goto_definition', { desc = '[G]oto [D]efinition' } }, + -- TODO: replace goto def with normal goto def or do I like the red thing? (maybe picker?) { 'n', 'gu', 'Lspsaga finder', { desc = '[G]oto [U]sages' } }, - { 'n', 'K', 'Lspsaga hover_doc', { desc = 'Documentation' } }, { { 'n', 'i' }, '', function() vim.lsp.buf.signature_help() end, { desc = 'Show [P]arameters' } }, { 'n', 'R', 'Lspsaga rename', { desc = '[R]ename' } }, { { 'n', 'i' }, '', 'Lspsaga code_action', { desc = 'Code Actions' } }, diff --git a/.config/nvim/lua/plugins/lspsaga.lua b/.config/nvim/lua/plugins/lspsaga.lua index a8fe588..6b127ce 100644 --- a/.config/nvim/lua/plugins/lspsaga.lua +++ b/.config/nvim/lua/plugins/lspsaga.lua @@ -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 = { -- cgit v1.3.1