From e530684df4c41f3444e65cc39f0f0325af1f9eb9 Mon Sep 17 00:00:00 2001 From: CoffeeTableEnnui Date: Thu, 1 Sep 2016 17:04:06 -0700 Subject: [PATCH] Update html.nanorc Added comment highlighting. Added more common attributes. --- html.nanorc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html.nanorc b/html.nanorc index 18c4763..32d47d4 100644 --- a/html.nanorc +++ b/html.nanorc @@ -4,4 +4,5 @@ syntax "HTML" "\.htm[l]?$" color brightblue start="<" end=">" color red "&[^;[[:space:]]]*;" color yellow ""[^"]*"|qq\|.*\|" -color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)=" +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=""