Improve LSP configs and change keybindings to align with default nvim
0.11 ones
This commit is contained in:
parent
f9f53656f7
commit
0eea4c8dab
33 changed files with 656 additions and 553 deletions
|
|
@ -1,44 +1,42 @@
|
|||
return
|
||||
{
|
||||
return {
|
||||
'nvimdev/lspsaga.nvim',
|
||||
config = function()
|
||||
require('lspsaga').setup({
|
||||
symbol_in_winbar = {
|
||||
enable = true,
|
||||
hide_keyboard = true,
|
||||
},
|
||||
lightbulb = {
|
||||
enable = true,
|
||||
enable_in_insert = true,
|
||||
cache_code_action = true,
|
||||
sign = true,
|
||||
update_time = 150,
|
||||
sign_priority = 20,
|
||||
virtual_text = false,
|
||||
},
|
||||
diagnostic = {
|
||||
extend_relatedInformation = true,
|
||||
},
|
||||
finder = {
|
||||
keys = {
|
||||
vsplit = "s",
|
||||
split = "v",
|
||||
toggle_or_open = "<CR>",
|
||||
shuttle = "<TAB>",
|
||||
},
|
||||
},
|
||||
outline = {
|
||||
keys = {
|
||||
toggle_or_jump = "<CR>",
|
||||
},
|
||||
},
|
||||
implement = {
|
||||
enable = false,
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
}
|
||||
},
|
||||
|
||||
opts = {
|
||||
symbol_in_winbar = {
|
||||
enable = true,
|
||||
hide_keyboard = true,
|
||||
},
|
||||
lightbulb = {
|
||||
enable = true,
|
||||
enable_in_insert = true,
|
||||
cache_code_action = true,
|
||||
sign = true,
|
||||
update_time = 150,
|
||||
sign_priority = 20,
|
||||
virtual_text = false,
|
||||
},
|
||||
diagnostic = {
|
||||
extend_relatedInformation = true,
|
||||
},
|
||||
finder = {
|
||||
keys = {
|
||||
vsplit = "s",
|
||||
split = "v",
|
||||
toggle_or_open = "<CR>",
|
||||
shuttle = "<TAB>",
|
||||
},
|
||||
},
|
||||
outline = {
|
||||
keys = {
|
||||
toggle_or_jump = "<CR>",
|
||||
},
|
||||
},
|
||||
implement = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue