diff options
| author | Kyren223 <contact@kyren.codes> | 2025-08-27 01:21:21 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-08-27 01:21:21 +0300 |
| commit | 117f102c8623bacdd7e9deb2b9b6bf0ec13274ec (patch) | |
| tree | 8f35a89d81e0ef63487086ad7a2891b0084cabcd /.config/nvim | |
| parent | 67bcbc5530d180c557ed67c9bc4de0797c14333b (diff) | |
Removed LSP saga hover, using native nvim one
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/lua/keymaps.lua | 3 | ||||
| -rw-r--r-- | .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', '<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' } }, 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 = { |
