Skip to content

Commit 1d249af

Browse files
committed
Tweak injections
1 parent ecb71a1 commit 1d249af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

queries/erlang/injections.scm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
args: (var)
99
args: (string) @injection.content
1010
(#gsub! @injection.content "\"+(.*)[^\"]" "%1")
11-
(#set! injection.language "herl")))
11+
(#set! injection.language "herl")
12+
(#set! injection.include-children)))
1213

1314
(call
1415
expr: (remote
@@ -18,4 +19,5 @@
1819
args: (expr_args
1920
args: (string) @injection.content
2021
(#gsub! @injection.content "\"+(.*)[^\"]" "%1")
21-
(#set! injection.language "herl")))
22+
(#set! injection.language "herl")
23+
(#set! injection.include-children)))

queries/herl/injections.scm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
((tokens
2-
(text) @injection.content)
1+
((text) @injection.content
32
(#set! injection.language "html")
43
(#set! injection.combined))
54

6-
((tokens
7-
(expression) @injection.content)
5+
((expression) @injection.content
86
(#set! injection.language "erlang"))

0 commit comments

Comments
 (0)