Skip to content

Commit

Permalink
Restrict tagged template language injections for ecma (helix-editor#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored and nikola2501 committed Jan 31, 2025
1 parent 0075dc9 commit 9ca197a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/queries/ecma/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9ca197a

Please sign in to comment.