From 05602e29cd3131287b259f1d2b50d994aee45848 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 2 Jun 2024 17:16:22 +0200 Subject: [PATCH] syntax: patch: recognize also the .rej extension The addition was inspired by `davidhcefx`. --- syntax/patch.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/patch.nanorc b/syntax/patch.nanorc index 13bbb5a0..fb587296 100644 --- 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 ""