Repository: sharkdp/bat (language: rust)

Issue:
Syntax highlighting for `jsonl`
[JSON Lines is a simple variation of JSON](https://jsonlines.org/).

It'd be great if `bat` used `json`-style highlighting for `jsonl` out of the box. Currently I use `bat events.jsonl -l json` to have my JSONL files highlighted.

Example `.jsonl` file:

```jsonl
{"time":"2023-04-07T00:44:26.781071+02:00","level":"INFO","msg":"cell event received","id":446,"name":"Salon odczyt","desc":"Salon odczyt","display_type":"TEMP","value":"0xa0e0","value_str":"22,4°C"}
{"time":"2023-04-07T00:44:28.358208+02:00","level":"INFO","msg":"cell event received","id":380,"name":"Bartek - sufit 1","desc":"Bartek SUFIT 1","display_type":"PROC","value":"0x6064","value_str":"100%"}
{"time":"2023-04-07T00:44:29.511618+02:00","level":"INFO","msg":"cell event received","id":380,"name":"Bartek - sufit 1","desc":"Bartek SUFIT 1","display_type":"PROC","value":"0x6000","value_str":"0%"}
{"time":"2023-04-07T00:44:30.005582+02:00","level":"INFO","msg":"cell event received","id":291,"name":"Bartek - sufit 2","desc":"SUFIT 3","display_type":"PROC","value":"0x6064","value_str":"100%"}
{"time":"2023-04-07T00:44:32.699916+02:00","level":"INFO","msg":"cell event received","id":291,"name":"Bartek - sufit 2","desc":"SUFIT 3","display_type":"PROC","value":"0x6000","value_str":"0%"}
{"time":"2023-04-07T00:44:33.018868+02:00","level":"INFO","msg":"cell event received","id":472,"name":"Łazienka góra","desc":"łazienka","display_type":"BIT","value":"0x2000","value_str":"0"}
```


Discussion / hints:
Hi 👋
Can I work on this?
> Hi 👋 Can I work on this?

Of course :) let us know if you need any pointers :)
A [note I recently made an another issue](https://github.com/sharkdp/bat/issues/2427#issuecomment-1496544375) is equally relevant here in case it helps :) 

Fix patch:
diff --git a/src/syntax_mapping.rs b/src/syntax_mapping.rs
index 5e65507033..e791a44fec 100644
--- a/src/syntax_mapping.rs
+++ b/src/syntax_mapping.rs
@@ -70,6 +70,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"))


Test patch: