Skip to content

Commit c964fa2

Browse files
authored
fix(git): fix inverted condition logic introduced in #1433 (#1443)
1 parent 8dc2144 commit c964fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/git/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function M.get_project_root(cwd)
7676
end
7777

7878
local function reload_tree_at(project_root)
79-
if M.config.git.enable then
79+
if not M.config.git.enable then
8080
return nil
8181
end
8282

0 commit comments

Comments
 (0)