mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
Restrict tagged template language injections for ecma (#12217)
This commit is contained in:
parent
8f1585a097
commit
f70923c448
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue