Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

file_icons: Use a separate icon key for HTML files (#24323)

Marshall Bowersd81a4ec7ecff
diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json
index 222b056bfc2..9580c8fd4ec 100644
--- a/assets/icons/file_icons/file_types.json
+++ b/assets/icons/file_icons/file_types.json
@@ -86,8 +86,8 @@
"hpp": "cpp",
"hrl": "erlang",
"hs": "haskell",
- "htm": "template",
- "html": "template",
+ "htm": "html",
+ "html": "html",
"hxx": "cpp",
"ib": "storage",
"ico": "image",
diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rs
index 170b51a1f92..1a99e42ed81 100644
--- a/crates/theme/src/icon_theme.rs
+++ b/crates/theme/src/icon_theme.rs
@@ -84,6 +84,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
("haskell", "icons/file_icons/haskell.svg"),
("hcl", "icons/file_icons/hcl.svg"),
("heroku", "icons/file_icons/heroku.svg"),
+ ("html", "icons/file_icons/html.svg"),
("image", "icons/file_icons/image.svg"),
("java", "icons/file_icons/java.svg"),
("javascript", "icons/file_icons/javascript.svg"),