Skip to content

Commit

Permalink
feat(icons): add a file icon for Haxe
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed Nov 17, 2024
1 parent f8060e5 commit 0e1e7b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added assets/language/haxe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/mappings/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pub fn get<'a>(
_ => match filename.to_lowercase().rsplit_once('.') {
Some((_, extension)) => match extension {
"gml" => ("gml", "GameMaker Language"),
"hx" | "hxml" => ("haxe", "Haxe"),
"pcss" | "postcss" => ("postcss", "PostCSS"),
_ => return None,
},
Expand Down

0 comments on commit 0e1e7b4

Please sign in to comment.