Update html.nanorc

Added comment highlighting.  Added more common attributes.
This commit is contained in:
CoffeeTableEnnui 2016-09-01 17:04:06 -07:00 committed by GitHub
parent c79521658c
commit e530684df4
1 changed files with 2 additions and 1 deletions

View File

@ -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="<!--" end="-->"