1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01: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

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