From: Benno Schulenberg Date: Fri, 27 Mar 2015 09:14:21 +0000 (+0000) Subject: Recognizing also Debian package diffs. X-Git-Tag: v2.4.1~34 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=41580848e32b6f9c86e6504859ac3b28a984220a;p=nano.git Recognizing also Debian package diffs. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5163 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index c4023baf..2d217656 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-27 Benno Schulenberg + * 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 * 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 index f5c1dd59..744408cd 100644 --- 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.