nvim-treesitter/queries/svelte/highlights.scm

31 lines
409 B
Scheme
Raw Normal View History

; inherits: html_tags
(raw_text_expr) @none
2021-02-16 00:41:58 +07:00
2021-02-05 13:45:26 +07:00
[
(special_block_keyword)
(then)
(as)
] @keyword
((special_block_keyword) @keyword.coroutine
(#eq? @keyword.coroutine "await"))
((special_block_keyword) @exception
(#eq? @exception "catch"))
((special_block_keyword) @conditional
2023-04-21 04:06:20 -04:00
(#any-of? @conditional "if" "else"))
2021-02-05 13:45:26 +07:00
[
"{"
"}"
] @punctuation.bracket
[
"#"
":"
"/"
"@"
] @tag.delimiter