Update src/output/icons.rs

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
This commit is contained in:
Stuart Carnie 2021-02-28 07:43:42 +11:00 committed by GitHub
parent c42e0b3945
commit 765fcf64c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -96,10 +96,10 @@ pub fn icon_for_file(file: &File<'_>) -> char {
if let Some(icon) = MAP_BY_NAME.get(file.name.as_str()) { *icon }
else if file.points_to_directory() {
match file.name.as_str() {
"bin" => '\u{e5fc}',
".git" => '\u{f1d3}',
".idea" => '\u{e7b5}',
_ => '\u{f115}'
"bin" => '\u{e5fc}', // 
".git" => '\u{f1d3}', // 
".idea" => '\u{e7b5}', // 
_ => '\u{f115}' // 
}
}
else if let Some(icon) = extensions.icon_file(file) { icon }