2016-03-21 16:16:02 +00:00
|
|
|
## Here is a short improved example for HTML.
|
2017-03-01 14:30:35 +00:00
|
|
|
##
|
2016-08-25 00:15:36 +00:00
|
|
|
syntax "html" "\.htm[l]?$"
|
2017-03-01 14:30:35 +00:00
|
|
|
color symbol "<|>"
|
|
|
|
|
color symbol.tag "<[^!].*?>"
|
|
|
|
|
color symbol "[:=]"
|
2016-03-21 20:02:58 +00:00
|
|
|
color special "&[^;[[:space:]]]*;"
|
2017-03-01 14:30:35 +00:00
|
|
|
color constant.string ""[^"]*"|qq\|.*\|"
|
2016-03-21 20:02:58 +00:00
|
|
|
color statement "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
2017-03-01 14:30:35 +00:00
|
|
|
color constant.string.url "(ft(p|ps)|htt(p|ps)|git|chrome)://[^ ]+"
|
|
|
|
|
color comment "<!--.+?-->"
|
|
|
|
|
color preproc "<!DOCTYPE.+?>"
|
|
|
|
|
# Bad possible work around for region-less regions.
|
|
|
|
|
#color default start=">" end="<"
|