Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(icons): update just, add more formats #1079

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/output/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
"Jenkinsfile" => '\u{e66e}', // 
"jsconfig.json" => Icons::LANG_JAVASCRIPT,// 
"Justfile" => Icons::WRENCH, // 
"justfile" => Icons::WRENCH, // 
"known_hosts" => '\u{f08c0}', // 󰣀
"LICENCE" => Icons::LICENSE, // 
"LICENCE.md" => Icons::LICENSE, // 
Expand Down Expand Up @@ -470,6 +471,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"fsi" => Icons::LANG_FSHARP, // 
"fsproj" => Icons::LANG_FSHARP, // 
"fsx" => Icons::LANG_FSHARP, // 
"gba" => '\u{f1393}', // 󱎓
"gcode" => '\u{f0af4}', // 󰫴
"gd" => Icons::GODOT, // 
"gdoc" => Icons::DOCUMENT, // 
Expand Down Expand Up @@ -604,6 +606,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"ninja" => '\u{f0774}', // 󰝴
"nix" => '\u{f313}', // 
"node" => Icons::NODEJS, // 
"nsp" => '\u{F07E1}', // 󰟡
"nu" => Icons::SHELL_CMD, // 
"o" => Icons::BINARY, // 
"obj" => Icons::FILE_3D, // 󰆧
Expand Down Expand Up @@ -734,6 +737,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"sublime-theme" => Icons::SUBLIME, // 
"svelte" => '\u{e697}', // 
"svg" => Icons::VECTOR, // 󰕙
"swf" => Icons::AUDIO, // 
"swift" => '\u{e755}', // 
"t" => Icons::LANG_PERL, // 
"tar" => Icons::COMPRESSED, // 
Expand Down Expand Up @@ -770,6 +774,8 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"v" => Icons::LANG_V, // 
"vdi" => Icons::DISK_IMAGE, // 
"vhd" => Icons::DISK_IMAGE, // 
"vhs" => '\u{F0A1B}', // 󰨛
"tape" => '\u{F0A1B}', // 󰨛
"video" => Icons::VIDEO, // 
"vim" => Icons::VIM, // 
"vmdk" => Icons::DISK_IMAGE, // 
Expand All @@ -787,6 +793,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"woff" => Icons::FONT, // 
"woff2" => Icons::FONT, // 
"wv" => Icons::AUDIO, // 
"xci" => '\u{F07E1}', // 󰟡
"xcf" => Icons::IMAGE, // 
"xhtml" => Icons::HTML5, // 
"xlr" => Icons::SHEET, // 
Expand All @@ -805,6 +812,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"zsh" => Icons::SHELL_CMD, // 
"zsh-theme" => Icons::SHELL, // 󱆃
"zst" => Icons::COMPRESSED, // 
"z64" => '\u{f1393}', // 󱎓
};

/// Converts the style used to paint a file name into the style that should be
Expand Down