Skip to content

Commit a5bd9f5

Browse files
committed
Added JSONC and aws credentials to the syntax mappings
1 parent 5a2a20a commit a5bd9f5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
- Pull in fix for unsafe-libyaml security advisory, see #2812 (@dtolnay)
2323
- Update git-version dependency to use Syn v2, see #2816 (@dtolnay)
2424
- Update git2 dependency to v0.18.2, see #2852 (@eth-p)
25+
- Added auto detect syntax for `.jsonc` #2795 (@mxaddict)
26+
- Added auto detect syntax for `.aws/{config,credentials}` #2795 (@mxaddict)
2527

2628
## Syntaxes
2729

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[mappings]
2+
"INI" = ["**/.aws/credentials", "**/.aws/config"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# JSON Lines is a simple variation of JSON #2535
22
[mappings]
3-
"JSON" = ["*.jsonl"]
3+
"JSON" = ["*.jsonl", "*.jsonc"]

0 commit comments

Comments
 (0)