feat: case insensitive extension matching for icons & colors (#908)
This commit is contained in:
parent
17e1a84646
commit
01d3b69de0
@ -319,7 +319,7 @@ func (sm styleMap) get(f *file) tcell.Style {
|
|||||||
return val
|
return val
|
||||||
}
|
}
|
||||||
|
|
||||||
if val, ok := sm["*"+f.ext]; ok {
|
if val, ok := sm["*"+strings.ToLower(f.ext)]; ok {
|
||||||
return val
|
return val
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user