Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rust icons #1502

Merged
merged 2 commits into from
Oct 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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