aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/just/injections.scm
blob: cae1035aeb0762d1e2de7a561adc146c26a62b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
((comment) @injection.content
 (#set! injection.language "comment"))

(shebang_recipe 
    (shebang 
        interpreter:(TEXT) @injection.language)
    (shebang_body) @injection.content
) 

(source_file 
    (item (setting lang:(NAME) @injection.language))
    (item (recipe (body (recipe_body) @injection.content)))
) 

; ((interpolation (expression) @injection.content)
;  (#set! injection.language "just"))