1 parent
1aed76c10d
commit
de691bf4e8
2 files changed
+16
No files matched your search
@@ -197,6 +197,16 @@ func (cm styleMap) get(f *file) tcell.Style {
|
||||
return val
|
||||
}
|
||||
|
||||
if f.IsDir() {
|
||||
if val, ok := cm[f.Name()+"/"]; ok {
|
||||
return val
|
||||
}
|
||||
}
|
||||
|
||||
if val, ok := cm[f.Name()]; ok {
|
||||
return val
|
||||
}
|
||||
|
||||
if val, ok := cm[f.Name()]; ok {
|
||||
return val
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user