Restrict tagged template language injections for ecma (#12217)

This commit is contained in:
uncenter 2025-01-23 14:45:35 -05:00 committed by GitHub
parent 8f1585a097
commit f70923c448
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,8 @@
(member_expression
property: (property_identifier) @injection.language)
]
arguments: (template_string) @injection.content)
arguments: (template_string) @injection.content
(#any-of? @injection.language "html" "css" "json" "sql" "js" "ts" "bash"))
; Parse the contents of gql template literals