Highlight new, tracked files in working copy Currently nvim-tree doesn't highlight new, tracked files in the working copy/directory. This change assigns the `NvimTreeGitFileNewHL` highlight to the `" A"` git porcelain status marker. Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
parent
a4699c0904
commit
0a52012d61
@ -131,7 +131,7 @@ function GitDecorator:build_file_folder_hl_by_xy()
|
||||
["RM"] = "NvimTreeGitFileRenamedHL",
|
||||
[" R"] = "NvimTreeGitFileRenamedHL",
|
||||
["!!"] = "NvimTreeGitFileIgnoredHL",
|
||||
[" A"] = "none",
|
||||
[" A"] = "NvimTreeGitFileNewHL",
|
||||
}
|
||||
|
||||
self.folder_hl_by_xy = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user