mirror of
https://github.com/sharkdp/bat
synced 2024-11-06 21:20:25 +00:00
Added JSONC and aws credentials to the syntax mappings
This commit is contained in:
parent
5a2a20af42
commit
a5bd9f51be
@ -22,6 +22,8 @@
|
|||||||
- Pull in fix for unsafe-libyaml security advisory, see #2812 (@dtolnay)
|
- Pull in fix for unsafe-libyaml security advisory, see #2812 (@dtolnay)
|
||||||
- Update git-version dependency to use Syn v2, see #2816 (@dtolnay)
|
- Update git-version dependency to use Syn v2, see #2816 (@dtolnay)
|
||||||
- Update git2 dependency to v0.18.2, see #2852 (@eth-p)
|
- Update git2 dependency to v0.18.2, see #2852 (@eth-p)
|
||||||
|
- Added auto detect syntax for `.jsonc` #2795 (@mxaddict)
|
||||||
|
- Added auto detect syntax for `.aws/{config,credentials}` #2795 (@mxaddict)
|
||||||
|
|
||||||
## Syntaxes
|
## Syntaxes
|
||||||
|
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
[mappings]
|
||||||
|
"INI" = ["**/.aws/credentials", "**/.aws/config"]
|
@ -1,3 +1,3 @@
|
|||||||
# JSON Lines is a simple variation of JSON #2535
|
# JSON Lines is a simple variation of JSON #2535
|
||||||
[mappings]
|
[mappings]
|
||||||
"JSON" = ["*.jsonl"]
|
"JSON" = ["*.jsonl", "*.jsonc"]
|
Loading…
Reference in New Issue
Block a user