mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
feat(astro): update injections to match parser rewrite (#6478)
This commit is contained in:
parent
a005f6fec9
commit
ea4f6d5175
2 changed files with 9 additions and 5 deletions
|
|
@ -18,7 +18,7 @@
|
|||
"revision": "afdc3d5da18d42cbb471c0f40527dbed9cace7ad"
|
||||
},
|
||||
"astro": {
|
||||
"revision": "4e766a11148e174a109851d746e8ab8fc43ef419"
|
||||
"revision": "b422ccd41f0b433260a3d28df7e39fa2ff63ef9c"
|
||||
},
|
||||
"authzed": {
|
||||
"revision": "1dec7e1af96c56924e3322cd85fdce15d0a31d00"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
; inherits: html_tags
|
||||
|
||||
(frontmatter
|
||||
(raw_text) @injection.content
|
||||
(frontmatter_js_block) @injection.content
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
(interpolation
|
||||
(raw_text) @injection.content
|
||||
(#set! injection.language "tsx"))
|
||||
(attribute_interpolation
|
||||
(attribute_js_expr) @injection.content
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
(html_interpolation
|
||||
(permissible_text) @injection.content
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
(script_element
|
||||
(raw_text) @injection.content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue