html: highlight punctuation

* `/>` as in self-closing tags like `<hr/>`
* `=` as in the separator between attribute name and value `<a href="bar">`
This commit is contained in:
Michael Davis 2022-06-28 10:09:42 -05:00 committed by Blaž Hrastnik
parent 7cf88f2bac
commit 016e97314c

View file

@ -2,11 +2,18 @@
(erroneous_end_tag_name) @tag.error
(doctype) @constant
(attribute_name) @attribute
(attribute_value) @string
(comment) @comment
[
"\""
(attribute_value)
] @string
[
"<"
">"
"</"
"/>"
] @punctuation.bracket
"=" @punctuation.delimiter