From 807d27f2d91ef924349f23aac9890c6b9c08e01b Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Wed, 5 Oct 2022 23:54:22 +0200 Subject: [PATCH] vim: fix hiding .git/ in nvim-tree --- config/nvim/after/plugin/nvim-tree.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nvim/after/plugin/nvim-tree.lua b/config/nvim/after/plugin/nvim-tree.lua index 1b6ea4a..35bcf65 100644 --- a/config/nvim/after/plugin/nvim-tree.lua +++ b/config/nvim/after/plugin/nvim-tree.lua @@ -11,8 +11,8 @@ plugin.setup { }, filters = { - dotfiles = false, -- show files starting with a . - custom = { '.git' }, -- don't show .git directory + dotfiles = false, -- show files starting with a . + custom = { '^\\.git' }, -- don't show .git directory }, renderer = {