Skip to content

Commit d8ec11f

Browse files
SwatBrosmaxdeviant
andauthored
Recognize Astro files (#7)
Co-authored-by: Marshall Bowers <[email protected]>
1 parent 9493fc9 commit d8ec11f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
### Added
1818

1919
- Added support for more languages:
20+
- Astro
2021
- Svelte
2122

2223
## [0.4.2] - 2025-02-22

src/languages.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub fn language_for_extension(extension: &str) -> Option<&'static str> {
33
match extension {
44
"asciidoc" | "adoc" => Some("AsciiDoc"),
55
"asm" => Some("Assembly"),
6+
"astro" => Some("Astro"),
67
"c" | "h" => Some("C"),
78
"clj" => Some("Clojure"),
89
"coq" => Some("Coq"),

0 commit comments

Comments
 (0)