commit 6440aa9e4758ff3aea78745d882e223f977e8892
parent 745fab8293172ace45953478d236c41281ec3e3c
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 25 Mar 2015 13:42:40 +0000
Slightly widening and relaxing the header regex.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+2015-03-25 Benno Schulenberg <bensberg@justemail.net>
+ * doc/syntax/debian.nanorc: Slightly widen and relax the header regex.
+
2015-03-23 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_alt_speller): Avoid the spell checker reporting
an error when the marked region is zero bytes long. The message
diff --git a/doc/syntax/debian.nanorc b/doc/syntax/debian.nanorc
@@ -1,6 +1,6 @@
## Here is an example for apt's sources.list.
-syntax "apt/sources.list" "sources\.list(\.old|~)?$" "apt/sources\.list\.d/.*\.list$"
+syntax "apt/sources.list" "sources\.list(~|\.old|\.save)?$" "sources\.list\.d/.*\.list(~|\.old|\.save)?$"
# Coloring the deb lines, working from tail to head. First the
# components -- well, everything, and thus also the components.