@@ -0,0 +1,68 @@
1+; Special identifiers
2+;--------------------
3+
4+; TODO:
5+((element (start_tag (tag_name) @_tag) (text) @markup.heading)
6+ (#match? @_tag "^(h[0-9]|title)$"))
7+
8+((element (start_tag (tag_name) @_tag) (text) @markup.bold)
9+ (#match? @_tag "^(strong|b)$"))
10+
11+((element (start_tag (tag_name) @_tag) (text) @markup.italic)
12+ (#match? @_tag "^(em|i)$"))
13+
14+; ((element (start_tag (tag_name) @_tag) (text) @markup.strike)
15+; (#match? @_tag "^(s|del)$"))
16+
17+((element (start_tag (tag_name) @_tag) (text) @markup.underline)
18+ (#eq? @_tag "u"))
19+
20+((element (start_tag (tag_name) @_tag) (text) @markup.inline)
21+ (#match? @_tag "^(code|kbd)$"))
22+
23+((element (start_tag (tag_name) @_tag) (text) @markup.underline.link)
24+ (#eq? @_tag "a"))
25+
26+((attribute
27+ (attribute_name) @_attr
28+ (quoted_attribute_value (attribute_value) @markup.undeline.link))
29+ (#match? @_attr "^(href|src)$"))
30+
31+(tag_name) @tag
32+(attribute_name) @property
33+(erroneous_end_tag_name) @error
34+(comment) @comment
35+
36+[
37+ (attribute_value)
38+ (quoted_attribute_value)
39+] @string
40+
41+[
42+ (text)
43+ (raw_text_expr)
44+] @none
45+
46+[
47+ (special_block_keyword)
48+ (then)
49+ (as)
50+] @keyword
51+
52+[
53+ "{"
54+ "}"
55+] @punctuation.brackets
56+
57+"=" @operator
58+
59+[
60+ "<"
61+ ">"
62+ "</"
63+ "/>"
64+ "#"
65+ ":"
66+ "/"
67+ "@"
68+] @punctuation.definition.tag