We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c4d2f commit 827efb3Copy full SHA for 827efb3
queries/injections.scm
@@ -13,12 +13,12 @@
13
(#set! injection.language "graphql"))
14
15
; Script (default to javascript)
16
-((#set! injection.language "javascript")
17
-(comment
+((comment
18
name: (_) @_name
19
(#eq? @_name "lang")
20
value: (_) @injection.language)?
21
-.
22
-(_
23
- (script) @injection.content
24
- (#offset! @injection.content 0 2 0 -2)))
+ .
+ (_
+ (script) @injection.content
+ (#offset! @injection.content 0 2 0 -2))
+ (#set! injection.language "javascript"))
0 commit comments