syntax: patch: recognize also the .rej extension

The addition was inspired by `davidhcefx`.
This commit is contained in:
Benno Schulenberg 2024-06-02 17:16:22 +02:00
parent cd53f7cf8c
commit 05602e29cd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
## Syntax highlighting for patch and diff files.
syntax patch "\.(patch|diff|debdiff)$"
syntax patch "\.(patch|diff|debdiff|rej)$"
magic "diff output"
# There is no official support for comments in patch files.
comment ""