mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
29 lines
464 B
Scheme
29 lines
464 B
Scheme
; 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]"))
|