feat(neo-tree): added sources configuration

This commit is contained in:
Sven Vogel 2024-11-01 18:21:02 +01:00
parent 1898a105f6
commit 574c1f27ba
1 changed files with 18 additions and 0 deletions

View File

@ -9,6 +9,24 @@ return {
},
cmd = "Neotree",
opts = {
source_selector = {
winbar = true,
statusline = false,
sources = {
{
source = "filesystem",
display_name = " 󰉓 Files "
},
{
source = "buffers",
display_name = " 󰈚 Buffers "
},
{
source = "document_symbols",
display_name = " 󰊢 Git "
},
},
},
filesystem = {
bind_to_cwd = false,
follow_current_file = { enabled = true },