apply merge before checking git
This commit is contained in:
@@ -337,12 +337,12 @@ function M.populate(entries, cwd, parent_node)
|
||||
table.insert(entries, file)
|
||||
end
|
||||
|
||||
utils.merge_sort(entries, node_comparator)
|
||||
|
||||
if (not icon_config.show_git_icon) and vim.g.nvim_tree_git_hl ~= 1 then
|
||||
return
|
||||
end
|
||||
|
||||
utils.merge_sort(entries, node_comparator)
|
||||
|
||||
git.update_status(entries, cwd, parent_node)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user