blob: e2917ad4dfe09dae1c8e5f8decb370ddd7db3a26 (
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
|
; inherits: html_tags
(doctype) @constant
"<!" @tag.delimiter
"---" @punctuation.delimiter
[
"{"
"}"
] @punctuation.special
; custom components get `@type` highlighting
((start_tag
(tag_name) @type)
(#lua-match? @type "^[A-Z]"))
((end_tag
(tag_name) @type)
(#lua-match? @type "^[A-Z]"))
((self_closing_tag
(tag_name) @type)
(#lua-match? @type "^[A-Z]"))
((erroneous_end_tag
(erroneous_end_tag_name) @type)
(#lua-match? @type "^[A-Z]"))
|