Skip to content

Commit

Permalink
feat(icons): add icon for maven
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed May 23, 2024
1 parent dde71a8 commit ebca692
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file added assets/language/maven.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/mappings/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ pub fn get<'a>(
"v" => ("v", "V "),
"vim" => ("vim", "VimL"),
"vue" => ("vue", "Vue"),
"xml" => ("xml", "XML"),
"xml" => {
if filename == "pom.xml" {
("maven", "Maven")
} else {
("xml", "XML")
}
}
"yaml" => ("yaml", "YAML"),
"zig" => ("zig", "Zig"),
"zsh" => ("shell", "Zsh"),
Expand Down

0 comments on commit ebca692

Please sign in to comment.