From c294ac29bd54684158edc9991da857ba2b448495 Mon Sep 17 00:00:00 2001 From: huge-pancake Date: Sat, 17 Jun 2023 10:39:02 +0800 Subject: [PATCH] feat(ui)!: unify UI component `nvim-tree` (#800) * feat(ui)!: unify UI component `nvim-tree` * fix(ui): use alt icons --- lua/modules/configs/tool/nvim-tree.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/modules/configs/tool/nvim-tree.lua b/lua/modules/configs/tool/nvim-tree.lua index d38d9a808..0930efed3 100644 --- a/lua/modules/configs/tool/nvim-tree.lua +++ b/lua/modules/configs/tool/nvim-tree.lua @@ -41,7 +41,7 @@ return function() renderer = { add_trailing = false, group_empty = true, - highlight_git = false, + highlight_git = true, full_name = false, highlight_opened_files = "none", special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md", "CMakeLists.txt" }, @@ -58,7 +58,7 @@ return function() root_folder_label = ":.:s?.*?/..?", icons = { webdev_colors = true, - git_placement = "before", + git_placement = "after", show = { file = true, folder = true, @@ -148,7 +148,7 @@ return function() }, git = { enable = true, - ignore = true, + ignore = false, show_on_dirs = true, timeout = 400, },