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

chore: add python icon for *.pxd and *.pyx

https://cython.readthedocs.io/en/latest/src/tutorial/pxd_files.html
https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html
Wu, Zhenyu пре 1 година
родитељ
комит
041e5ee29f
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/output/icons.rs

+ 2 - 0
src/output/icons.rs

@@ -877,6 +877,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
     "psm1"           => Icons::POWERSHELL,       // 
     "pub"            => Icons::PUBLIC_KEY,       // 󰷖
     "purs"           => '\u{e630}',              // 
+    "pxd"            => Icons::LANG_PYTHON,      // 
     "pxm"            => Icons::IMAGE,            // 
     "py"             => Icons::LANG_PYTHON,      // 
     "pyc"            => Icons::LANG_PYTHON,      // 
@@ -884,6 +885,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
     "pyi"            => Icons::LANG_PYTHON,      // 
     "pyo"            => Icons::LANG_PYTHON,      // 
     "pyw"            => Icons::LANG_PYTHON,      // 
+    "pyx"            => Icons::LANG_PYTHON,      // 
     "qcow"           => Icons::DISK_IMAGE,       // 
     "qcow2"          => Icons::DISK_IMAGE,       // 
     "qm"             => Icons::TRANSLATION,      // 󰗊