fix: remove sources from neo-tree

This commit is contained in:
Sven Vogel 2024-11-24 16:54:40 +01:00
parent c0aee86f3e
commit 3bc65870d6
1 changed files with 0 additions and 31 deletions

View File

@ -20,41 +20,10 @@ return {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", "nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
--
-- List language server diagnostics
--
-- Source: https://github.com/mrbjarksen/neo-tree-diagnostics.nvim
-- ..............................................
--
'mrbjarksen/neo-tree-diagnostics.nvim'
}, },
cmd = "Neotree", cmd = "Neotree",
opts = { opts = {
popup_border_style = ui.border, 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 = { diagnostics = {
follow_current_file = { -- May also be set to `true` or `false` 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 enabled = true, -- This will find and focus the file in the active buffer every time