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.
This commit is contained in:
parent
dd2364d680
commit
f9a676d143
@ -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