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")) .insert("fish_history", MappingTarget::MapTo("YAML"))
.unwrap(); .unwrap();
mapping
.insert("*.jsonl", MappingTarget::MapTo("JSON"))
.unwrap();
// See #2151, https://nmap.org/book/nse-language.html // See #2151, https://nmap.org/book/nse-language.html
mapping mapping
.insert("*.nse", MappingTarget::MapTo("Lua")) .insert("*.nse", MappingTarget::MapTo("Lua"))