file_icons: Use a separate icon key for HTML files (#24323)
This PR updates the file icon mappings such that HTML (`.html` and `.htm`) files map to the `html` key. This allows for the HTML file icons to be replaced in icon themes. Release Notes: - Icon themes: Added the ability to change the file icon for HTML (`.html`, `.htm`) files.
This commit is contained in:
parent
980ce5fbf2
commit
d81a4ec7ec
2 changed files with 3 additions and 2 deletions
|
@ -86,8 +86,8 @@
|
||||||
"hpp": "cpp",
|
"hpp": "cpp",
|
||||||
"hrl": "erlang",
|
"hrl": "erlang",
|
||||||
"hs": "haskell",
|
"hs": "haskell",
|
||||||
"htm": "template",
|
"htm": "html",
|
||||||
"html": "template",
|
"html": "html",
|
||||||
"hxx": "cpp",
|
"hxx": "cpp",
|
||||||
"ib": "storage",
|
"ib": "storage",
|
||||||
"ico": "image",
|
"ico": "image",
|
||||||
|
|
|
@ -84,6 +84,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
|
||||||
("haskell", "icons/file_icons/haskell.svg"),
|
("haskell", "icons/file_icons/haskell.svg"),
|
||||||
("hcl", "icons/file_icons/hcl.svg"),
|
("hcl", "icons/file_icons/hcl.svg"),
|
||||||
("heroku", "icons/file_icons/heroku.svg"),
|
("heroku", "icons/file_icons/heroku.svg"),
|
||||||
|
("html", "icons/file_icons/html.svg"),
|
||||||
("image", "icons/file_icons/image.svg"),
|
("image", "icons/file_icons/image.svg"),
|
||||||
("java", "icons/file_icons/java.svg"),
|
("java", "icons/file_icons/java.svg"),
|
||||||
("javascript", "icons/file_icons/javascript.svg"),
|
("javascript", "icons/file_icons/javascript.svg"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue