diff --git a/colors.go b/colors.go index 345dc5f..0e86058 100644 --- a/colors.go +++ b/colors.go @@ -276,6 +276,10 @@ func (sm styleMap) get(f *file) tcell.Style { return val } + if val, ok := sm["*"+f.Name()]; ok { + return val + } + if val, ok := sm[filepath.Base(f.Name())+".*"]; ok { return val }