fix: remove sources from neo-tree
This commit is contained in:
parent
c0aee86f3e
commit
3bc65870d6
|
@ -20,41 +20,10 @@ return {
|
|||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
--
|
||||
-- List language server diagnostics
|
||||
--
|
||||
-- Source: https://github.com/mrbjarksen/neo-tree-diagnostics.nvim
|
||||
-- ..............................................
|
||||
--
|
||||
'mrbjarksen/neo-tree-diagnostics.nvim'
|
||||
},
|
||||
cmd = "Neotree",
|
||||
opts = {
|
||||
popup_border_style = ui.border,
|
||||
sources = {
|
||||
"filesystem",
|
||||
"document_symbols",
|
||||
"git_status",
|
||||
"diagnostics"
|
||||
},
|
||||
source_selector = {
|
||||
winbar = true,
|
||||
statusline = false,
|
||||
sources = {
|
||||
{
|
||||
source = "filesystem",
|
||||
display_name = " Files "
|
||||
},
|
||||
{
|
||||
source = "document_symbols",
|
||||
display_name = " Symbols "
|
||||
},
|
||||
{
|
||||
source = "diagnostics",
|
||||
display_name = " Diagnostics "
|
||||
}
|
||||
},
|
||||
},
|
||||
diagnostics = {
|
||||
follow_current_file = { -- May also be set to `true` or `false`
|
||||
enabled = true, -- This will find and focus the file in the active buffer every time
|
||||
|
|
Loading…
Reference in New Issue