Skip to content

Commit

Permalink
Add Rust icons (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoDean authored Oct 5, 2022
1 parent 31b83ef commit 38b7282
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/icons.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
#define ICON_PYTHON ICON_STR(MFIZZ_PYTHON, "\ue235", "🐍")
#define ICON_REACT ICON_STR(FILE_JSX, "\ue625", ICON_JAVASCRIPT)
#define ICON_RUBY ICON_STR(MFIZZ_RUBY, "\ue23e", "💎")
#define ICON_RUST ICON_STR(DEV_RUST, "\ue7a8", "")
#define ICON_SASS ICON_STR("", "\ue603", "")
#define ICON_SCRIPT ICON_STR(MFIZZ_SCRIPT, "\ue795", "📜")
#define ICON_SUBTITLE ICON_STR(FA_COMMENTS_O, "\uf679", "💬")
Expand Down Expand Up @@ -124,6 +125,7 @@
#define ICON_EXT_SLN ICON_STR(DEV_VISUALSTUDIO, "\ue70c", "")
#define ICON_EXT_TS ICON_STR(FILE_TS, "\ue628", "")


/*
* Hex xterm 256 color code, 0 to follow file specific (if any)
* Codes: https://jonasjacek.github.io/colors/
Expand Down Expand Up @@ -360,6 +362,7 @@ static const struct icon_pair icons_ext[] = {
{"rc", ICON_CONFIGURE, 0},
{"rom", ICON_EXT_ROM, 0},
{"rpm", ICON_ARCHIVE, COLOR_ARCHIVE},
{"rs", ICON_RUST, COLOR_DOCS},
{"rss", ICON_EXT_RSS, 0},
{"rtf", ICON_EXT_RTF, 0},

Expand Down

0 comments on commit 38b7282

Please sign in to comment.