Merge pull request #989 from foundObjects/add-filetypes

Add file icons for zst and Arch Linux PKGBUILD
This commit is contained in:
Mélanie Chauvel 2022-01-05 00:03:58 +01:00 committed by GitHub
commit 4f919a6bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,7 @@ lazy_static! {
m.insert("Makefile", '\u{f489}'); //  m.insert("Makefile", '\u{f489}'); // 
m.insert("node_modules", '\u{e718}'); //  m.insert("node_modules", '\u{e718}'); // 
m.insert("npmignore", '\u{e71e}'); //  m.insert("npmignore", '\u{e71e}'); // 
m.insert("PKGBUILD", '\u{f303}'); // 
m.insert("rubydoc", '\u{e73b}'); //  m.insert("rubydoc", '\u{e73b}'); // 
m.insert("yarn.lock", '\u{e718}'); //  m.insert("yarn.lock", '\u{e718}'); // 
@ -347,6 +348,7 @@ pub fn icon_for_file(file: &File<'_>) -> char {
"zsh" => '\u{f489}', //  "zsh" => '\u{f489}', // 
"zsh-theme" => '\u{f489}', //  "zsh-theme" => '\u{f489}', // 
"zshrc" => '\u{f489}', //  "zshrc" => '\u{f489}', // 
"zst" => '\u{f410}', // 
_ => '\u{f15b}' //  _ => '\u{f15b}' // 
} }
} }