Lspsaga
lspsaga.nvim #
Improves the Neovim built-in LSP experience.
Installation #
lazy.nvim #
require('lazy').setup({
'nvimdev/lspsaga.nvim',
config = function()
require('lspsaga').setup({})
end,
dependencies = {
'nvim-treesitter/nvim-treesitter', -- optional
'nvim-tree/nvim-web-devicons', -- optional
}
})
Three ways to lazy load lspsaga
:
- Use
event = 'LspAttach'
(need latest lazy.nvim 2023-July-9) - Use
ft = {filetype}
likeft = {'c','cpp', 'lua', 'rust', 'go'},
- As a depend on
nvim-lspconfig
packer.nvim #
use ({
'nvimdev/lspsaga.nvim',
after = 'nvim-lspconfig',
config = function()
require('lspsaga').setup({})
end,
})
Modules #
Diagnostic: Jump between diagnostic and show them in pretty floats
LightBulb: VSCode like lightbulb indicating possible code actions
Implement: Easily see number of implementations and quickly jump to them