helix/runtime/queries/html/highlights.scm

21 lines
246 B
Scheme
Raw Normal View History

2021-04-09 16:42:49 +08:00
(tag_name) @tag
(erroneous_end_tag_name) @tag.error
(doctype) @constant
(attribute_name) @attribute
(comment) @comment
[
"\""
(attribute_value)
] @string
2021-04-09 16:42:49 +08:00
[
"<"
">"
"</"
"/>"
"<!"
2021-04-09 16:42:49 +08:00
] @punctuation.bracket
"=" @punctuation.delimiter