From c964fa24d0e6cc7d77d46e29c03f6f004af1578c Mon Sep 17 00:00:00 2001 From: yehy4 <25834760+yehy4@users.noreply.github.com> Date: Tue, 19 Jul 2022 11:48:32 +0200 Subject: [PATCH] fix(git): fix inverted condition logic introduced in #1433 (#1443) --- lua/nvim-tree/git/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/git/init.lua b/lua/nvim-tree/git/init.lua index 5fbaeb92..7833c8d9 100644 --- a/lua/nvim-tree/git/init.lua +++ b/lua/nvim-tree/git/init.lua @@ -76,7 +76,7 @@ function M.get_project_root(cwd) end local function reload_tree_at(project_root) - if M.config.git.enable then + if not M.config.git.enable then return nil end