commit 05602e29cd3131287b259f1d2b50d994aee45848
parent cd53f7cf8cf84b43cdb2e401488e2360b71ec6bc
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 2 Jun 2024 17:16:22 +0200
syntax: patch: recognize also the .rej extension
The addition was inspired by `davidhcefx`.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/patch.nanorc b/syntax/patch.nanorc
@@ -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 ""