summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/tree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/tree.lua')
-rw-r--r--nvim/lua/plugins/tree.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/nvim/lua/plugins/tree.lua b/nvim/lua/plugins/tree.lua
index cea966e..320849b 100644
--- a/nvim/lua/plugins/tree.lua
+++ b/nvim/lua/plugins/tree.lua
@@ -5,10 +5,23 @@ require("nvim-tree").setup({
view = {
width = 30,
},
+ git = {
+ enable = true,
+ },
renderer = {
group_empty = true,
+ highlight_git = true,
+ icons = {
+ show = {
+ git = true,
+ },
+ },
},
filters = {
- dotfiles = true,
+ dotfiles = false,
+ },
+ update_focused_file = {
+ enable = true,
+ update_root = false,
},
})