mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
30
runtime/queries/svelte/highlights.scm
Normal file
30
runtime/queries/svelte/highlights.scm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
; inherits: html_tags
|
||||
|
||||
(raw_text_expr) @none
|
||||
|
||||
[
|
||||
(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
|
||||
(#any-of? @conditional "if" "else"))
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"#"
|
||||
":"
|
||||
"/"
|
||||
"@"
|
||||
] @tag.delimiter
|
||||
Loading…
Add table
Add a link
Reference in a new issue