mirror of https://github.com/helix-editor/helix
Restrict tagged template language injections for ecma (#12217)
parent
8f1585a097
commit
f70923c448
|
@ -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…
Reference in New Issue