Skip to content

Commit

Permalink
Merge pull request #2867 from cyqsimon/containers-conf
Browse files Browse the repository at this point in the history
Map containers `.conf` files to TOML syntax
  • Loading branch information
sharkdp authored Feb 23, 2024
2 parents 85a549e + a6f01af commit 5c2cc53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

- `cmd-help`: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp)
- Upgrade JQ syntax, see #2820 (@dependabot[bot])
- Map containers .conf files to TOML syntax #2867 (@cyqsimon)
- Associate `xsh` files with `xonsh` syntax that is Python, see #2840 (@anki-code).
- Added auto detect syntax for `.jsonc` #2795 (@mxaddict)
- Added auto detect syntax for `.aws/{config,credentials}` #2795 (@mxaddict)
Expand Down
8 changes: 8 additions & 0 deletions src/syntax_mapping/builtins/linux/50-containers.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# see https://github.com/containers/image/tree/main/docs
[mappings]
"TOML" = [
"/usr/share/containers/**/*.conf",
"/etc/containers/**/*.conf",
"${HOME}/.config/containers/**/*.conf",
"${XDG_CONFIG_HOME}/containers/**/*.conf",
]

0 comments on commit 5c2cc53

Please sign in to comment.