Skip to content

Commit e51fff1

Browse files
fix(queries): update queries
1 parent b430b8b commit e51fff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

queries/http/injections.scm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
(script) @injection.content
2828
(#offset! @injection.content 0 2 0 -2)))
2929

30+
; post-request scripts for requests without body
3031
((request
32+
!body
3133
(comment
3234
name: (_) @_name
3335
(#eq? @_name "lang")
34-
value: (_) @injection.language))
36+
value: (_) @injection.language) .)
3537
.
3638
(res_handler_script
3739
(script) @injection.content

0 commit comments

Comments
 (0)