Skip to content

Commit

Permalink
Merge pull request #2961 from cyqsimon/pacman-conf
Browse files Browse the repository at this point in the history
Add syntax mapping for `/etc/pacman.conf`
  • Loading branch information
keith-hall authored Oct 31, 2024
2 parents ce7a3d9 + bd3c49d commit 50fa25d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
- Add support for [CFML](https://www.adobe.com/products/coldfusion-family.html), see #3031 (@brenton-at-pieces)
- Map `*.mkd` files to `Markdown` syntax, see issue #3060 and PR #3061 (@einfachIrgendwer0815)
- Add syntax mapping for kubernetes config files #3049 (@cyqsimon)
- Add syntax mapping for `/etc/pacman.conf` #2961 (@cyqsimon)

## Themes

Expand Down
9 changes: 7 additions & 2 deletions src/syntax_mapping/builtins/linux/50-pacman.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[mappings]
# pacman hooks
"INI" = ["/usr/share/libalpm/hooks/*.hook", "/etc/pacman.d/hooks/*.hook"]
"INI" = [
# config
"/etc/pacman.conf",
# hooks
"/usr/share/libalpm/hooks/*.hook",
"/etc/pacman.d/hooks/*.hook",
]

0 comments on commit 50fa25d

Please sign in to comment.