mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat: add curly interpolation support for astro
This commit is contained in:
parent
9c1fb1626a
commit
e3adb39586
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
; inherits: html
|
; inherits: html
|
||||||
|
|
||||||
[ "---" ] @punctuation.delimiter
|
[ "---" ] @punctuation.delimiter
|
||||||
|
|
||||||
|
[ "{" "}" ] @punctuation.special
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
; inherits: html
|
; inherits: html
|
||||||
|
|
||||||
((frontmatter
|
((frontmatter
|
||||||
(raw_text) @typescript))
|
(raw_text) @typescript))
|
||||||
|
|
||||||
|
((interpolation
|
||||||
|
(raw_text) @tsx))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue