aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-10-28 19:23:51 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-10-28 19:23:51 +0530
commitc8603e65e764b9a3f52b67ebef4ef43550f35dc3 (patch)
tree4a6ba69c8cf794f8605cb9079ca233f5157c2e1b
parent1e4b9e6503019da3a73a936b2dd1a4cc9bc8fdb8 (diff)
git files will now be shown
-rw-r--r--nvim/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index e861b68..864b997 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -20,6 +20,17 @@ require("lazy").setup({
lazy = false,
branch = "v2.5",
import = "nvchad.plugins",
+ config = function()
+ require "options"
+ local nvim_tree_options = require "nvchad.configs.nvimtree"
+ nvim_tree_options.filters.dotfiles = false -- To show dotfiles as well
+ nvim_tree_options.filters.git_ignored = false -- Set this to false to show git ignored files
+ nvim_tree_options.git = {
+ enable = true,
+ ignore = false, -- Set this to false to show git ignored files
+ timeout = 500,
+ }
+ end,
},
{ import = "plugins" },