Преглед изворни кода

feat: add prettier icon for `.prettierrc.{json,json5,toml,yaml,yml}`

Signed-off-by: Justin Su <injustsu@gmail.com>
Justin Su пре 7 месеци
родитељ
комит
3cc1e33fd7
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/output/icons.rs

+ 5 - 0
src/output/icons.rs

@@ -252,6 +252,11 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
     ".pre-commit-config.yaml" => '\u{f06e2}',       // 󰛢
     ".prettierignore"     => '\u{e6b4}',            // 
     ".prettierrc"         => '\u{e6b4}',            // 
+    ".prettierrc.json"    => '\u{e6b4}',            // 
+    ".prettierrc.json5"   => '\u{e6b4}',            // 
+    ".prettierrc.toml"    => '\u{e6b4}',            // 
+    ".prettierrc.yaml"    => '\u{e6b4}',            // 
+    ".prettierrc.yml"     => '\u{e6b4}',            // 
     ".parentlock"         => Icons::LOCK,           // 
     ".profile"            => Icons::SHELL,          // 󱆃
     ".pylintrc"           => Icons::CONFIG,         // 