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:
Margret Riegert
2025-02-14 15:27:43 -05:00
committed by GitHub
co-authored by Marshall Bowers
parent e37acdeeb8
commit 3040ef416a
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -29,6 +29,7 @@
"conf": "settings",
"cpp": "cpp",
"cs": "csharp",
"cr": "crystal",
"css": "css",
"csv": "storage",
"cxx": "cpp",
@@ -43,6 +44,7 @@
"dll": "storage",
"doc": "document",
"docx": "document",
"ecr": "crystal",
"eex": "elixir",
"elm": "elm",
"erl": "erlang",
+1
View File
@@ -67,6 +67,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
("code", "icons/file_icons/code.svg"),
("coffeescript", "icons/file_icons/coffeescript.svg"),
("cpp", "icons/file_icons/cpp.svg"),
("crystal", "icons/file_icons/file.svg"),
("csharp", "icons/file_icons/file.svg"),
("css", "icons/file_icons/css.svg"),
("cue", "icons/file_icons/file.svg"),