mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
44 lines
692 B
Scheme
44 lines
692 B
Scheme
(doctype) @constant
|
|
|
|
(comment) @comment
|
|
|
|
(tag_name) @tag
|
|
|
|
((tag_name) @string.special
|
|
(#any-of? @string.special "super" "extend"))
|
|
|
|
(attribute_name) @attribute
|
|
|
|
(attribute_value) @string
|
|
|
|
((element
|
|
(start_tag
|
|
(attribute
|
|
(attribute_name) @_attribute
|
|
[
|
|
(attribute_value) @markup.link.url
|
|
(quoted_attribute_value
|
|
(attribute_value) @markup.link.url)
|
|
]))
|
|
(element
|
|
(start_tag
|
|
(tag_name) @tag)))
|
|
(#eq? @tag "super")
|
|
(#eq? @_attribute "id"))
|
|
|
|
(element
|
|
(start_tag
|
|
(tag_name) @string.special)
|
|
(#eq? @string.special "super"))
|
|
|
|
"\"" @string
|
|
|
|
[
|
|
"<"
|
|
">"
|
|
"</"
|
|
"/>"
|
|
"<!"
|
|
] @punctuation.bracket
|
|
|
|
"=" @punctuation.delimiter
|