Removed LSP saga hover, using native nvim one
This commit is contained in:
@@ -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' } },
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user