Skip to content

Commit 5add054

Browse files
committed
fix: fixes #209, respect enable_git_status=false
1 parent 60c9a45 commit 5add054

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/neo-tree/setup/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ M.merge_config = function(config, is_auto_config)
333333

334334
-- apply the users config
335335
M.config = vim.tbl_deep_extend("force", default_config, config)
336+
if not M.config.enable_git_status then
337+
M.config.git_status_async = false
338+
end
336339

337340
file_nesting.setup(M.config.nesting_rules)
338341

0 commit comments

Comments
 (0)