]> git.wh0rd.org Git - nano.git/commitdiff
Colouring trailing whitespace in Makefiles, patch by Mike Frysinger.
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 26 Feb 2014 21:42:53 +0000 (21:42 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Wed, 26 Feb 2014 21:42:53 +0000 (21:42 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/makefile.nanorc

index 8b2a823168145e95240eb6172cdbf2c0ef73da33..7cb829c43f81745176463937f6039b92c1d66fad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
        * doc/syntax/gentoo.nanorc - Update to newer EAPIs, and fold
        in updated shell changes too.  Much of this is based on work
        by Davide Pesavento <pesa@gentoo.org>.
+       * doc/syntax/makefile.nanorc: Highlight trailing whitespace.
 
 2014-02-26  Benno Schulenberg  <bensberg@justemail.net>
        * src/global.c (shortcut_init) -  Put PageUp and PageDown
index bac672acbefeaa709af63164ad4704d055ccd7fa..f81d1e5aee57f62d5ee8b2b3dd2fc2d1e4e3dac2 100644 (file)
@@ -7,3 +7,5 @@ color magenta "\<(if|ifeq|else|endif)\>"
 color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
 color brightblue "^[^  ]+:"
 color green "#.*$"
+## Trailing whitespace.
+color ,green "[[:space:]]+$"