You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/xml/highlights.scm

43 lines
523 B
Scheme

(comment) @comment
[
"DOCTYPE"
"ELEMENT"
"ATTLIST"
] @keyword
[
"#REQUIRED"
"#IMPLIED"
"#FIXED"
"#PCDATA"
] @keyword.directive
[
"EMPTY"
"ANY"
"SYSTEM"
"PUBLIC"
] @constant
(doctype) @variable
(element_name) @variable
"xml" @tag
(tag_name) @tag
[
"encoding"
"version"
"standalone"
] @attribute
(attribute_name) @attribute
(system_literal) @string
(pubid_literal) @string
(attribute_value) @string
[
"<" ">" "</" "/>" "<?" "?>" "<!"
] @punctuation.bracket