blob: cbf366d1cd3899f6a90c563dee376e6e46b31fd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
(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
|