From 8cf6dcdf4ad542009cb9a45076f50adfbb9a9ee5 Mon Sep 17 00:00:00 2001 From: Arkaprabha Chakraborty Date: Wed, 8 Mar 2023 01:45:37 +0530 Subject: [PATCH] Update nvim/lua/file-tree.lua --- nvim/lua/file-tree.lua | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/nvim/lua/file-tree.lua b/nvim/lua/file-tree.lua index 606cf8d..d183d0c 100644 --- a/nvim/lua/file-tree.lua +++ b/nvim/lua/file-tree.lua @@ -20,12 +20,10 @@ nvim_tree.setup({ indent_width = 2, }, filters = { - dotfiles = true, - }, - view = { - side = "left", - width = 30, - hide_root_folder = false, + dotfiles = false, + git_clean = false, + no_buffer = false, + exclude = {}, }, actions = { open_file = { @@ -37,6 +35,13 @@ nvim_tree.setup({ update_cwd = false, ignore_list = {}, }, + git = { + enable = true, + ignore = false, + show_on_dirs = true, + show_on_open_dirs = true, + timeout = 200, + }, }) -- open file tree at startup