Skip to content

Commit

Permalink
Merge pull request #2874 from cyqsimon/wg
Browse files Browse the repository at this point in the history
Add syntax mapping for Wireguard config
  • Loading branch information
sharkdp authored Feb 29, 2024
2 parents 4c85483 + 071874e commit d185f09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- 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)
- Add syntax mapping for Wireguard config #2874 (@cyqsimon)

## Themes

Expand Down
3 changes: 3 additions & 0 deletions src/syntax_mapping/builtins/unix-family/50-wireguard.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# see `man wg-quick`
[mappings]
"INI" = ["/etc/wireguard/*.conf"]

0 comments on commit d185f09

Please sign in to comment.