feat(neo-tree): added sources configuration
This commit is contained in:
parent
1898a105f6
commit
574c1f27ba
|
@ -9,6 +9,24 @@ return {
|
||||||
},
|
},
|
||||||
cmd = "Neotree",
|
cmd = "Neotree",
|
||||||
opts = {
|
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 = {
|
filesystem = {
|
||||||
bind_to_cwd = false,
|
bind_to_cwd = false,
|
||||||
follow_current_file = { enabled = true },
|
follow_current_file = { enabled = true },
|
||||||
|
|
Loading…
Reference in New Issue