summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/keymaps.lua3
-rw-r--r--.config/nvim/lua/plugins/lspsaga.lua4
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 = {