commit 41580848e32b6f9c86e6504859ac3b28a984220a
parent b455fa3a16f32a91813b253a53f2f65d5af28825
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 27 Mar 2015 09:14:21 +0000
Recognizing also Debian package diffs.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5163 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-27 Benno Schulenberg <bensberg@justemail.net>
+ * doc/syntax/patch.nanorc: Recognize also Debian package diffs.
+ Fixes https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1300565
+ requested by Rolf Leggewie.
+
2015-03-25 Benno Schulenberg <bensberg@justemail.net>
* doc/syntax/debian.nanorc: Slightly widen and relax the header regex.
* doc/syntax/python.nanorc: Hashes inside triple-quoted strings should
diff --git a/doc/syntax/patch.nanorc b/doc/syntax/patch.nanorc
@@ -1,6 +1,6 @@
## Here is an example for patch files.
-syntax "patch" "\.(patch|diff)$"
+syntax "patch" "\.(patch|diff|debdiff)$"
magic "diff output text"
# Added lines.