Add `os-release` syntax mapping

This commit is contained in:
cyqsimon 2023-06-01 13:17:08 +08:00
parent 7639e8b406
commit f8c700027e
No known key found for this signature in database
GPG Key ID: 1D8CE2F297390D65
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,12 @@ impl<'a> SyntaxMapping<'a> {
MappingTarget::MapTo("Bourne Again Shell (bash)"),
)
.unwrap();
mapping
.insert(
"os-release",
MappingTarget::MapTo("Bourne Again Shell (bash)"),
)
.unwrap();
mapping
.insert("*.pac", MappingTarget::MapTo("JavaScript (Babel)"))
.unwrap();