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
@@ -109,7 +109,7 @@ func (im iconMap) get(f *file) string {
return val
}
if val, ok := im[f.Name()]; ok {
if val, ok := im[f.Name()+"*"]; ok {
return val
}