Browse Source

fix(icons): hi extension icon wasnt working as it was in the wrong aray

MartinFillon 10 months ago
parent
commit
ea5da98fc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/output/icons.rs

+ 1 - 1
src/output/icons.rs

@@ -191,7 +191,6 @@ const DIRECTORY_ICONS: Map<&'static str, char> = phf_map! {
     "Videos"              => '\u{f03d}',            // 
     "xbps.d"              => Icons::FOLDER_CONFIG,  // 
     "xorg.conf.d"         => Icons::FOLDER_CONFIG,  // 
-    "hi"                  => Icons::BINARY,         // 
     "cabal"               => Icons::LANG_HASKELL,   // 
 };
 
@@ -671,6 +670,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
     "heif"           => Icons::IMAGE,            // 
     "hex"            => '\u{f12a7}',             // 󱊧
     "hh"             => Icons::LANG_CPP,         // 
+    "hi"             => Icons::BINARY,           // 
     "hpp"            => Icons::LANG_CPP,         // 
     "hrl"            => '\u{e7b1}',              // 
     "hs"             => Icons::LANG_HASKELL,     // 