2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-16 21:25:56 +00:00

fix: Add syntax mapping jsonl => json

This commit is contained in:
WinterCore 2023-04-08 00:41:02 +02:00 committed by Martin Nordholts
parent 48dc2b0d90
commit d580445aef

View File

@ -76,6 +76,10 @@ impl<'a> SyntaxMapping<'a> {
.insert("fish_history", MappingTarget::MapTo("YAML"))
.unwrap();
mapping
.insert("*.jsonl", MappingTarget::MapTo("JSON"))
.unwrap();
// See #2151, https://nmap.org/book/nse-language.html
mapping
.insert("*.nse", MappingTarget::MapTo("Lua"))