From 574c1f27ba64ab3e8cdd59c0138f69bca6c9e0cb Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 1 Nov 2024 18:21:02 +0100 Subject: [PATCH] feat(neo-tree): added sources configuration --- lua/plugins/neo-tree.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 572e12f..ba0d5ad 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -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 },