removed DU from deleted as file will show up in tree

This commit is contained in:
chomosuke
2022-12-06 22:20:59 +11:00
parent 75cd0d1a6d
commit ac8fb08f90

View File

@@ -95,8 +95,6 @@ function M.get_git_status(node)
["D "] = true, ["D "] = true,
["RD"] = true, ["RD"] = true,
["DD"] = true, ["DD"] = true,
-- TODO: test if this should be deleted
["DU"] = true,
} }
for _, s in pairs(node.git_status.dir.direct) do for _, s in pairs(node.git_status.dir.direct) do
if deleted[s] then if deleted[s] then