Merge pull request #1001 from CantoroMC/nerdfont

nerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp
This commit is contained in:
Piña Colada 2021-05-12 20:00:39 +05:30 committed by GitHub
commit 9756ce4650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -118,6 +118,7 @@
/* H */ /* H */
#define ICON_EXT_H ICON_C #define ICON_EXT_H ICON_C
#define ICON_EXT_HH ICON_CPLUSPLUS #define ICON_EXT_HH ICON_CPLUSPLUS
#define ICON_EXT_HS "\ue777"
#define ICON_EXT_HTACCESS ICON_CONFIGURE #define ICON_EXT_HTACCESS ICON_CONFIGURE
#define ICON_EXT_HTPASSWD ICON_CONFIGURE #define ICON_EXT_HTPASSWD ICON_CONFIGURE
#define ICON_EXT_HTM ICON_HTML #define ICON_EXT_HTM ICON_HTML
@ -174,6 +175,7 @@
#define ICON_EXT_PART ICON_DOWNLOADS #define ICON_EXT_PART ICON_DOWNLOADS
#define ICON_EXT_PATCH "\uf440" #define ICON_EXT_PATCH "\uf440"
#define ICON_EXT_PDF "\uf724" #define ICON_EXT_PDF "\uf724"
#define ICON_EXT_PGN "\uf639"
#define ICON_EXT_PHP "\ue73d" #define ICON_EXT_PHP "\ue73d"
#define ICON_EXT_PNG ICON_PICTUREFILE #define ICON_EXT_PNG ICON_PICTUREFILE
#define ICON_EXT_PPT "\uf726" #define ICON_EXT_PPT "\uf726"

View file

@ -356,6 +356,7 @@ static const struct icon_pair icons_ext[] = {
/* F */ /* F */
{"f#", ICON_EXT_FSHARP, COLOR_FSHARP}, {"f#", ICON_EXT_FSHARP, COLOR_FSHARP},
{"fen", ICON_EXT_PGN, 0},
{"flac", ICON_EXT_FLAC, COLOR_AUDIO}, {"flac", ICON_EXT_FLAC, COLOR_AUDIO},
{"flv", ICON_EXT_FLV, COLOR_VIDEO}, {"flv", ICON_EXT_FLV, COLOR_VIDEO},
{"fs", ICON_EXT_FS, COLOR_FSHARP}, {"fs", ICON_EXT_FS, COLOR_FSHARP},
@ -373,6 +374,8 @@ static const struct icon_pair icons_ext[] = {
/* H */ /* H */
{"h", ICON_EXT_H, COLOR_C}, {"h", ICON_EXT_H, COLOR_C},
{"hh", ICON_EXT_HH, COLOR_C}, {"hh", ICON_EXT_HH, COLOR_C},
{"hpp", ICON_EXT_HH, COLOR_C},
{"hs", ICON_EXT_HS, COLOR_VIM},
{"htaccess", ICON_EXT_HTACCESS, 0}, {"htaccess", ICON_EXT_HTACCESS, 0},
{"htpasswd", ICON_EXT_HTPASSWD, 0}, {"htpasswd", ICON_EXT_HTPASSWD, 0},
{"htm", ICON_EXT_HTM, 0}, {"htm", ICON_EXT_HTM, 0},
@ -399,6 +402,7 @@ static const struct icon_pair icons_ext[] = {
/* L */ /* L */
{"lha", ICON_EXT_LHA, COLOR_ARCHIVE}, {"lha", ICON_EXT_LHA, COLOR_ARCHIVE},
{"lhs", ICON_EXT_HS, COLOR_VIM},
{"log", ICON_EXT_LOG, 0}, {"log", ICON_EXT_LOG, 0},
{"lua", ICON_EXT_LUA, 0}, {"lua", ICON_EXT_LUA, 0},
{"lzh", ICON_EXT_LZH, COLOR_ARCHIVE}, {"lzh", ICON_EXT_LZH, COLOR_ARCHIVE},
@ -430,6 +434,7 @@ static const struct icon_pair icons_ext[] = {
{"part", ICON_EXT_PART, 0}, {"part", ICON_EXT_PART, 0},
{"patch", ICON_EXT_PATCH, 0}, {"patch", ICON_EXT_PATCH, 0},
{"pdf", ICON_EXT_PDF, COLOR_DOCS}, {"pdf", ICON_EXT_PDF, COLOR_DOCS},
{"pgn", ICON_EXT_PGN, 0},
{"php", ICON_EXT_PHP, 0}, {"php", ICON_EXT_PHP, 0},
{"png", ICON_EXT_PNG, COLOR_IMAGE}, {"png", ICON_EXT_PNG, COLOR_IMAGE},
{"ppt", ICON_EXT_PPT, 0}, {"ppt", ICON_EXT_PPT, 0},