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 nik-rev committed Jan 24, 2025
1 parent 0b3a5be commit 7906fff
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 7906fff

Please sign in to comment.