From 64896f535d28a2d75777e3d68037d5924df3dad7 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:03:16 +0100 Subject: [PATCH] Color trailing whitespace green --- html.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html.nanorc b/html.nanorc index 32d47d4..dd01965 100644 --- a/html.nanorc +++ b/html.nanorc @@ -6,3 +6,6 @@ color red "&[^;[[:space:]]]*;" color yellow ""[^"]*"|qq\|.*\|" color red "(action|alt|bgcolor|height|href|id|label|longdesc|method|name|onclick|onfocus|onload|onmouseover|rel|size|span|src|style|target|title|type|value|width)=" color magenta start="" + +## Trailing spaces +color ,green "[[:space:]]+$"