diff --git a/ChangeLog b/ChangeLog index 9b0d3f58..e5472598 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-03-25 Benno Schulenberg + * doc/syntax/debian.nanorc: Slightly widen and relax the header regex. + 2015-03-23 Benno Schulenberg * 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 index 630b4d02..f87e2246 100644 --- 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.