add trailing star to match names for colors/icons

cc #543
This commit is contained in:
Gokcehan committed 2021-01-07 01:17:56 +03:00
1 parent 8e09df5969
commit 9f8bbe26e2
5 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ func (sm styleMap) get(f *file) tcell.Style {
return val
}
if val, ok := sm[f.Name()]; ok {
if val, ok := sm[f.Name()+"*"]; ok {
return val
}