[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] nanorc syntax: highlight trailing whitespace
From: |
Mike Frysinger |
Subject: |
[Nano-devel] [PATCH] nanorc syntax: highlight trailing whitespace |
Date: |
Sun, 23 Mar 2014 16:42:01 -0400 |
---
doc/syntax/nanorc.nanorc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/syntax/nanorc.nanorc b/doc/syntax/nanorc.nanorc
index 74829e7..04b3f8d 100644
--- a/doc/syntax/nanorc.nanorc
+++ b/doc/syntax/nanorc.nanorc
@@ -17,3 +17,5 @@ icolor brightmagenta ""(\\.|[^"])*""
## Comments
icolor brightblue "^[[:space:]]*#.*$"
icolor cyan "^[[:space:]]*##.*$"
+## Trailing whitespace
+color ,green "[[:space:]]+$"
--
1.9.0
- [Nano-devel] [PATCH] nanorc syntax: highlight trailing whitespace,
Mike Frysinger <=