[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] makefile syntax: highlight trailing whitespace
From: |
Mike Frysinger |
Subject: |
[Nano-devel] [PATCH] makefile syntax: highlight trailing whitespace |
Date: |
Sun, 18 Dec 2011 13:34:33 -0500 |
Signed-off-by: Mike Frysinger <address@hidden>
---
doc/syntax/makefile.nanorc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/syntax/makefile.nanorc b/doc/syntax/makefile.nanorc
index 93a1e76..6810f8f 100644
--- a/doc/syntax/makefile.nanorc
+++ b/doc/syntax/makefile.nanorc
@@ -6,3 +6,5 @@ color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
color brightblue "^[^ ]+:"
color green "#.*$"
+## Trailing whitespace
+color ,green "[[:space:]]+$"
--
1.7.6.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nano-devel] [PATCH] makefile syntax: highlight trailing whitespace,
Mike Frysinger <=