From e3c386d6d0364a1f0282c76143e1898589cdc578 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 24 May 2023 14:31:09 -0500 Subject: [PATCH] feat(nvim): show source selector for neotree in winbar --- dots/.config/nvim/lua/plugins/configs/neotree.lua | 3 +++ dots/.config/nvim/lua/plugins/configs/statusline.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/neotree.lua b/dots/.config/nvim/lua/plugins/configs/neotree.lua index 93b84fc9..11d7a649 100644 --- a/dots/.config/nvim/lua/plugins/configs/neotree.lua +++ b/dots/.config/nvim/lua/plugins/configs/neotree.lua @@ -2,6 +2,9 @@ local neotree = require("neo-tree") vim.g.neo_tree_remove_legacy_commands = 1 neotree.setup({ + source_selector = { + winbar = true, + }, filesystem = { use_libuv_file_watcher = true, }, diff --git a/dots/.config/nvim/lua/plugins/configs/statusline.lua b/dots/.config/nvim/lua/plugins/configs/statusline.lua index fc56c556..8102d592 100755 --- a/dots/.config/nvim/lua/plugins/configs/statusline.lua +++ b/dots/.config/nvim/lua/plugins/configs/statusline.lua @@ -76,7 +76,7 @@ lualine.setup({ theme = "auto", component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" }, - disabled_filetypes = { "alpha" }, + disabled_filetypes = { "alpha", "neo-tree" }, always_divide_middle = true, globalstatus = true, },