Bladeren bron

feat(icons): update just, add more formats

Fix default justfile name, it is defined as 'Justfile' but 'just --init' creates the default file name as 'justfile' with a lower case 'j' - Also added the VHS file format for charmbracelets terminal recording ascii file format. Added .xci and .nsp extensions for switch games, .z64 for n64 games, .gba for gameboy games and added .swf for the sound font file format.
Meili C 1 jaar geleden
bovenliggende
commit
957362d8c8
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8 0
      src/output/icons.rs

+ 8 - 0
src/output/icons.rs

@@ -285,6 +285,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,        // 
@@ -476,6 +477,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,         // 
@@ -610,6 +612,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,          // 󰆧
@@ -741,6 +744,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,       // 
@@ -777,6 +781,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,       // 
@@ -794,6 +800,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,            // 
@@ -812,6 +819,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