aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/haskell/injections.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/haskell/injections.scm b/runtime/queries/haskell/injections.scm
index a82addbce..98a396e5e 100644
--- a/runtime/queries/haskell/injections.scm
+++ b/runtime/queries/haskell/injections.scm
@@ -79,6 +79,7 @@
; Python
; inline-python
(quasiquote
- (quoter) @injection.language
- (#any-of? @injection.language "pymain" "pye" "py_" "pyf")
- (quasiquote_body) @injection.content)
+ (quoter) @_name
+ (#any-of? @_name "pymain" "pye" "py_" "pyf")
+ (quasiquote_body) @injection.content
+ (#set! injection.language "python"))