|
|
@ -1,6 +1,11 @@
|
|
|
|
; Special identifiers
|
|
|
|
; Special identifiers
|
|
|
|
;--------------------
|
|
|
|
;--------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(tag_name) @tag
|
|
|
|
|
|
|
|
(attribute_name) @variable.other.member
|
|
|
|
|
|
|
|
(erroneous_end_tag_name) @error
|
|
|
|
|
|
|
|
(comment) @comment
|
|
|
|
|
|
|
|
|
|
|
|
; TODO:
|
|
|
|
; TODO:
|
|
|
|
((element (start_tag (tag_name) @_tag) (text) @markup.heading)
|
|
|
|
((element (start_tag (tag_name) @_tag) (text) @markup.heading)
|
|
|
|
(#match? @_tag "^(h[0-9]|title)$"))
|
|
|
|
(#match? @_tag "^(h[0-9]|title)$"))
|
|
|
@ -28,11 +33,6 @@
|
|
|
|
(quoted_attribute_value (attribute_value) @markup.link.url))
|
|
|
|
(quoted_attribute_value (attribute_value) @markup.link.url))
|
|
|
|
(#match? @_attr "^(href|src)$"))
|
|
|
|
(#match? @_attr "^(href|src)$"))
|
|
|
|
|
|
|
|
|
|
|
|
(tag_name) @tag
|
|
|
|
|
|
|
|
(attribute_name) @variable.other.member
|
|
|
|
|
|
|
|
(erroneous_end_tag_name) @error
|
|
|
|
|
|
|
|
(comment) @comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|
(attribute_value)
|
|
|
|
(attribute_value)
|
|
|
|
(quoted_attribute_value)
|
|
|
|
(quoted_attribute_value)
|
|
|
|