mirror of
https://github.com/sharkdp/bat.git
synced 2025-06-18 14:26:00 +01:00
Merge pull request #2795 from mxaddict/master
Added JSONC and aws credentials to the syntax mappings
This commit is contained in:
@ -32,6 +32,8 @@
|
|||||||
|
|
||||||
- `cmd-help`: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp)
|
- `cmd-help`: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp)
|
||||||
- Upgrade JQ syntax, see #2820 (@dependabot[bot])
|
- Upgrade JQ syntax, see #2820 (@dependabot[bot])
|
||||||
|
- Added auto detect syntax for `.jsonc` #2795 (@mxaddict)
|
||||||
|
- Added auto detect syntax for `.aws/{config,credentials}` #2795 (@mxaddict)
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
[mappings]
|
||||||
|
"INI" = ["**/.aws/credentials", "**/.aws/config"]
|
2
src/syntax_mapping/builtins/common/50-jsonl.toml → src/syntax_mapping/builtins/common/50-json.toml
2
src/syntax_mapping/builtins/common/50-jsonl.toml → src/syntax_mapping/builtins/common/50-json.toml
@ -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"]
|
Reference in New Issue
Block a user