Commit 8a2c245d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Colouring trailing whitespace in Makefiles, patch by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent b2b7c2f9
Showing with 3 additions and 0 deletions
+3 -0
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* doc/syntax/gentoo.nanorc - Update to newer EAPIs, and fold * doc/syntax/gentoo.nanorc - Update to newer EAPIs, and fold
in updated shell changes too. Much of this is based on work in updated shell changes too. Much of this is based on work
by Davide Pesavento <pesa@gentoo.org>. by Davide Pesavento <pesa@gentoo.org>.
* doc/syntax/makefile.nanorc: Highlight trailing whitespace.
2014-02-26 Benno Schulenberg <bensberg@justemail.net> 2014-02-26 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (shortcut_init) - Put PageUp and PageDown * src/global.c (shortcut_init) - Put PageUp and PageDown
......
...@@ -7,3 +7,5 @@ color magenta "\<(if|ifeq|else|endif)\>" ...@@ -7,3 +7,5 @@ color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$+[{(][a-zA-Z0-9_-]+[})]" color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
color brightblue "^[^ ]+:" color brightblue "^[^ ]+:"
color green "#.*$" color green "#.*$"
## Trailing whitespace.
color ,green "[[:space:]]+$"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment