Skip to content

Commit 984a353

Browse files
committed
Add icon for Puppet and Razor
1 parent dca2453 commit 984a353

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

src/icons-emoji.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@
117117
#define EMOJI_PLAYLIST EMOJI_MUSIC
118118
#define EMOJI_POSTSCRIPT EMOJI_PDF
119119
#define EMOJI_POWERSHELL EMOJI_SHELL
120+
#define EMOJI_PUPPET EMOJI_CODE
120121
#define EMOJI_PRESENTATION "📙"
121122
#define EMOJI_PURESCRIPT EMOJI_CODE
122123
#define EMOJI_PYTHON "🐍"
124+
#define EMOJI_RAZOR EMOJI_CODE
123125
#define EMOJI_ROM EMOJI_FILE
124126
#define EMOJI_RSS "📡"
125127
#define EMOJI_RUBY "💎"

src/icons-in-terminal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#define FILE_OCAML "\ue77d"
9191
#define FILE_OPENOFFICE "\ue847"
9292
#define FILE_POLYMER "\ue88e" /* No svelte icon. Let's use this for it. */
93+
#define FILE_PUPPET "\ue8e1"
9394
#define FILE_POSTSCRIPT "\ue7b8"
9495
#define FILE_POWERSHELL "\ue83d"
9596
#define FILE_POWERPOINT "\ue84f"

src/icons-nerdfont.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,11 @@
121121
#define NERD_PLAYLIST "󰲸"
122122
#define NERD_POSTSCRIPT "󰕡"
123123
#define NERD_POWERSHELL ""
124+
#define NERD_PUPPET ""
124125
#define NERD_PURESCRIPT ""
125126
#define NERD_PYTHON "󰌠"
126127
#define NERD_R "󰟔"
128+
#define NERD_RAZOR ""
127129
#define NERD_REACT ""
128130
#define NERD_RSS ""
129131
#define NERD_RUBY ""

src/icons.h

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,11 @@ char
140140
ICON_POSTSCRIPT[] = EMOJI_POSTSCRIPT,
141141
ICON_POWERSHELL[] = EMOJI_POWERSHELL,
142142
ICON_POWERPOINT[] = EMOJI_PRESENTATION,
143+
ICON_PUPPET[] = EMOJI_PUPPET,
143144
ICON_PURESCRIPT[] = EMOJI_PURESCRIPT,
144145
ICON_PYTHON[] = EMOJI_PYTHON,
145146
ICON_R[] = EMOJI_R,
147+
ICON_RAZOR[] = EMOJI_RAZOR,
146148
ICON_REACT[] = EMOJI_ELECTRON,
147149
ICON_README[] = EMOJI_TEXT,
148150
ICON_ROM[] = EMOJI_ROM,
@@ -309,9 +311,11 @@ char
309311
ICON_POSTSCRIPT[] = FILE_POSTSCRIPT,
310312
ICON_POWERSHELL[] = FILE_POWERSHELL,
311313
ICON_POWERPOINT[] = FILE_POWERPOINT,
314+
ICON_PUPPET[] = FILE_PUPPET,
312315
ICON_PURESCRIPT[] = FILE_PURESCRIPT,
313316
ICON_PYTHON[] = MFIZZ_PYTHON,
314317
ICON_R[] = FILE_R,
318+
ICON_RAZOR[] = FA_FILE_O, /* No Razor icon */
315319
ICON_REACT[] = FILE_REACT,
316320
ICON_README[] = OCT_BOOK,
317321
ICON_ROM[] = FA_MICROCHIP,
@@ -478,9 +482,11 @@ char
478482
ICON_POSTSCRIPT[] = NERD_POSTSCRIPT,
479483
ICON_POWERSHELL[] = NERD_POWERSHELL,
480484
ICON_POWERPOINT[] = NERD_PPTDOC,
485+
ICON_PUPPET[] = NERD_PUPPET,
481486
ICON_PURESCRIPT[] = NERD_PURESCRIPT,
482487
ICON_PYTHON[] = NERD_PYTHON,
483488
ICON_R[] = NERD_R,
489+
ICON_RAZOR[] = NERD_RAZOR,
484490
ICON_REACT[] = NERD_REACT,
485491
ICON_README[] = NERD_BOOK,
486492
ICON_ROM[] = NERD_ROM,
@@ -1088,6 +1094,7 @@ struct icons_t const icon_ext[] = {
10881094
{"ps1", ICON_POWERSHELL, WHITE},
10891095
{"psd1", ICON_POWERSHELL, WHITE},
10901096
{"psm1", ICON_POWERSHELL, WHITE},
1097+
{"pp", ICON_PUPPET, MAGENTA},
10911098
{"purs", ICON_PURESCRIPT, WHITE},
10921099
{"pxd", ICON_PYTHON, GREEN},
10931100
{"py", ICON_PYTHON, GREEN},
@@ -1142,7 +1149,6 @@ struct icons_t const icon_ext[] = {
11421149
{"rdf", ICON_REDIS, RED},
11431150
{"aof", ICON_REDIS, RED},
11441151
{"cr", ICON_CRYSTAL, WHITE}, // nf-dev-crystal
1145-
{"fnl", ICON_FENNEL, GREEN}, // No IIT icon
11461152
{"hack", ICON_HACK, YELLOW}, nf-seti-hacklang
11471153
{"qml", ICON_QT, GREEN}, // No IIT icon
11481154
{"qrc", ICON_QT, GREEN},
@@ -1167,11 +1173,12 @@ struct icons_t const icon_ext[] = {
11671173
#endif
11681174
{"bst", ICON_TEX, WHITE}, // BibTeX Style Document
11691175
{"cls", ICON_TEX, WHITE}, // LaTeX Document Class File
1176+
{"cshtml", ICON_RAZOR, CYAN}, // ASP.NET Razor Webpage
11701177
{"htm", ICON_HTML, YELLOW}, // Hypertext Markup Language File
11711178
{"html", ICON_HTML, YELLOW}, // Hypertext Markup Language File
11721179
{"jmd", ICON_MARKDOWN, WHITE}, // Jupyter Markdown File
1173-
{"jsp", ICON_HTML, YELLOW}, // Jakarta Server Page
1174-
{"jspx", ICON_HTML, YELLOW}, // XML Jakarta Server Page
1180+
// {"jsp", ICON_HTML, YELLOW}, // Jakarta Server Page
1181+
// {"jspx", ICON_HTML, YELLOW}, // XML Jakarta Server Page
11751182
{"latex", ICON_TEX, WHITE}, // LaTeX Document
11761183
{"ltx", ICON_TEX, WHITE}, // LaTeX Document
11771184
{"markdown", ICON_MARKDOWN, WHITE}, // Markdown Documentation File
@@ -1180,6 +1187,7 @@ struct icons_t const icon_ext[] = {
11801187
{"mkd", ICON_MARKDOWN, WHITE}, // Markdown Documentation File
11811188
{"opf", ICON_XML, YELLOW}, // OEB Package Format (FlipViewer FlipBook File)
11821189
{"opml", ICON_XML, YELLOW}, // Outline Processor Markup Language File
1190+
{"razor", ICON_RAZOR, CYAN}, // Razor Component File
11831191
{"rdf", ICON_XML, YELLOW}, // Resource Description Framework File
11841192
{"rdoc", ICON_MARKDOWN, WHITE}, // Ruby Document
11851193
{"sgml", ICON_XML, YELLOW}, // Standard Generalized Markup Language File

0 commit comments

Comments
 (0)