on master help sign in
html: highlight punctuation

* `/>` as in self-closing tags like `<hr/>` * `=` as in the separator between attribute name and value `<a href="bar">`

commit016e97314cd37c245368678179f1157f83a13821 authorMichael Davis <mcarsondavis@gmail.com> dateTue 28 Jun 2022, 10:09 (4 years ago) parent7cf88f2
1 file changed+8−1
runtime/queries/html/highlights.scm+8−1
runtime/queries/html/highlights.scm+8−1
@@ -2,11 +2,18 @@
22(erroneous_end_tag_name) @tag.error
33(doctype) @constant
44(attribute_name) @attribute
5−(attribute_value) @string
65(comment) @comment
76
7+[
8+ "\""
9+ (attribute_value)
10+] @string
11+
812[
913 "<"
1014 ">"
1115 "</"
16+ "/>"
1217] @punctuation.bracket
18+
19+"=" @punctuation.delimiter