mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 11:22:30 +01:00
Associate *.sarif
files with json
syntax (#2695)
* Associate `*.sarif` files with `json` syntax * Update changelog for #2695
This commit is contained in:
@@ -76,9 +76,9 @@ impl<'a> SyntaxMapping<'a> {
|
||||
.insert("fish_history", MappingTarget::MapTo("YAML"))
|
||||
.unwrap();
|
||||
|
||||
mapping
|
||||
.insert("*.jsonl", MappingTarget::MapTo("JSON"))
|
||||
.unwrap();
|
||||
for glob in ["*.jsonl", "*.sarif"] {
|
||||
mapping.insert(glob, MappingTarget::MapTo("JSON")).unwrap();
|
||||
}
|
||||
|
||||
// See #2151, https://nmap.org/book/nse-language.html
|
||||
mapping
|
||||
|
Reference in New Issue
Block a user