feat(astro): add backtick string injections

This also updates a highlight to be more accurate
and bumps the lockfile to fix a few bugs.
This commit is contained in:
Vir Chaudhury 2024-04-21 09:18:24 +08:00 committed by Christian Clason
parent 9b1c2096e0
commit 28aebb7308
2 changed files with 5 additions and 1 deletions

View file

@ -18,7 +18,7 @@
"revision": "afdc3d5da18d42cbb471c0f40527dbed9cace7ad"
},
"astro": {
"revision": "1aab99ed2af477fe4283365226589908809a696d"
"revision": "506515c1dce4220fc9db278ce9eae2ad4e239cff"
},
"authzed": {
"revision": "1dec7e1af96c56924e3322cd85fdce15d0a31d00"

View file

@ -8,6 +8,10 @@
(attribute_js_expr) @injection.content
(#set! injection.language "typescript"))
(attribute
(attribute_backtick_string) @injection.content
(#set! injection.language "typescript"))
(html_interpolation
(permissible_text) @injection.content
(#set! injection.language "typescript"))