1
Files
flake-nixinator/config/neovim/store/nvim-treesitter/queries/astro/highlights.scm

22 lines
345 B
Scheme

; inherits: html
"---" @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]"))
((erroneous_end_tag
(erroneous_end_tag_name) @type)
(#lua-match? @type "^[A-Z]"))