add edge-cases around deleting/staging
This commit is contained in:
committed by
Kiyan Yazdani
parent
640d147d70
commit
47cd138808
@@ -78,6 +78,10 @@ if vim.g.lua_tree_git_hl == 1 then
|
|||||||
{ hl = "LuaTreeFileStaged" },
|
{ hl = "LuaTreeFileStaged" },
|
||||||
{ hl = "LuaTreeFileNew" }
|
{ hl = "LuaTreeFileNew" }
|
||||||
},
|
},
|
||||||
|
["AD"] = {
|
||||||
|
{ hl = "LuaTreeFileStaged" },
|
||||||
|
{ hl = "LuaTreeFileDeleted" }
|
||||||
|
},
|
||||||
["AM"] = {
|
["AM"] = {
|
||||||
{ hl = "LuaTreeFileStaged" },
|
{ hl = "LuaTreeFileStaged" },
|
||||||
{ hl = "LuaTreeFileNew" },
|
{ hl = "LuaTreeFileNew" },
|
||||||
@@ -87,6 +91,10 @@ if vim.g.lua_tree_git_hl == 1 then
|
|||||||
["R "] = { { hl = "LuaTreeFileRenamed" } },
|
["R "] = { { hl = "LuaTreeFileRenamed" } },
|
||||||
["UU"] = { { hl = "LuaTreeFileMerge" } },
|
["UU"] = { { hl = "LuaTreeFileMerge" } },
|
||||||
[" D"] = { { hl = "LuaTreeFileDeleted" } },
|
[" D"] = { { hl = "LuaTreeFileDeleted" } },
|
||||||
|
["D "] = {
|
||||||
|
{ hl = "LuaTreeFileDeleted" },
|
||||||
|
{ hl = "LuaTreeFileStaged" }
|
||||||
|
},
|
||||||
dirty = { { hl = "LuaTreeFileDirty" } },
|
dirty = { { hl = "LuaTreeFileDirty" } },
|
||||||
}
|
}
|
||||||
get_git_hl = function(node)
|
get_git_hl = function(node)
|
||||||
|
|||||||
Reference in New Issue
Block a user