Skip to content

Commit

Permalink
Merge pull request #2947 from jacg/debdiff
Browse files Browse the repository at this point in the history
Make .debdiff imply .diff using syntax_mapping toml
  • Loading branch information
keith-hall authored Oct 31, 2024
2 parents 50fa25d + 0a8bfc5 commit 95cb705
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 @@ -114,6 +114,7 @@
- Update `Julia` syntax, see #2553 (@dependabot)
- add `NSIS` support, see #2577 (@idleberg)
- Update `ssh-config`, see #2697 (@mrmeszaros)
- Add syntax mapping `*.debdiff` => `diff`, see #2947 (@jacg)

## `bat` as a library

Expand Down
3 changes: 3 additions & 0 deletions src/syntax_mapping/builtins/common/50-diff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .debdiff is the extension used for diffs in Debian packaging
[mappings]
"Diff" = ["*.debdiff"]

0 comments on commit 95cb705

Please sign in to comment.