file_icons: Add icon key for Crystal and ECR files (#24903)
Release Notes: - Icon themes: Added the ability to change the file icon for Crystal (`.cr`, `.ecr`) files. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
parent
e37acdeeb8
commit
3040ef416a
2 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
||||||
"conf": "settings",
|
"conf": "settings",
|
||||||
"cpp": "cpp",
|
"cpp": "cpp",
|
||||||
"cs": "csharp",
|
"cs": "csharp",
|
||||||
|
"cr": "crystal",
|
||||||
"css": "css",
|
"css": "css",
|
||||||
"csv": "storage",
|
"csv": "storage",
|
||||||
"cxx": "cpp",
|
"cxx": "cpp",
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
"dll": "storage",
|
"dll": "storage",
|
||||||
"doc": "document",
|
"doc": "document",
|
||||||
"docx": "document",
|
"docx": "document",
|
||||||
|
"ecr": "crystal",
|
||||||
"eex": "elixir",
|
"eex": "elixir",
|
||||||
"elm": "elm",
|
"elm": "elm",
|
||||||
"erl": "erlang",
|
"erl": "erlang",
|
||||||
|
|
|
@ -67,6 +67,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
|
||||||
("code", "icons/file_icons/code.svg"),
|
("code", "icons/file_icons/code.svg"),
|
||||||
("coffeescript", "icons/file_icons/coffeescript.svg"),
|
("coffeescript", "icons/file_icons/coffeescript.svg"),
|
||||||
("cpp", "icons/file_icons/cpp.svg"),
|
("cpp", "icons/file_icons/cpp.svg"),
|
||||||
|
("crystal", "icons/file_icons/file.svg"),
|
||||||
("csharp", "icons/file_icons/file.svg"),
|
("csharp", "icons/file_icons/file.svg"),
|
||||||
("css", "icons/file_icons/css.svg"),
|
("css", "icons/file_icons/css.svg"),
|
||||||
("cue", "icons/file_icons/file.svg"),
|
("cue", "icons/file_icons/file.svg"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue