Skip to content

Commit

Permalink
feat: Add icon for Maven
Browse files Browse the repository at this point in the history
feat: Add icon for Maven
  • Loading branch information
vyfor authored May 23, 2024
2 parents 7cea2c3 + ebca692 commit 91152a8
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 91152a8

Please sign in to comment.