Merge pull request #2587 from cyqsimon/os-release

Add `os-release` syntax mapping
This commit is contained in:
David Peter authored and GitHub committed 2023-06-03 23:29:09 +02:00
commit 70e49bd32b
2 files changed
+8

No files matched your search

+2
View File
@@ -10,6 +10,8 @@
## Syntaxes
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
## Themes
## `bat` as a library
+6
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();