1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-22 16:53:19 +00:00

Highlight *.pac files as JavaScript

closes #1515
This commit is contained in:
David Peter
2021-02-16 21:51:57 +01:00
parent 9ad401be87
commit 7eabb5e05a
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -42,6 +42,9 @@ impl<'a> SyntaxMapping<'a> {
MappingTarget::MapTo("Bourne Again Shell (bash)"),
)
.unwrap();
mapping
.insert("*.pac", MappingTarget::MapTo("JavaScript (Babel)"))
.unwrap();
// See #1008
mapping