1(((comment) @_jsdoc_comment
2 (#match? @_jsdoc_comment "(?s)^/[*][*][^*].*[*]/$")) @injection.content
3 (#set! injection.language "jsdoc"))
4
5((regex) @injection.content
6 (#set! injection.language "regex"))
7
8(call_expression
9 function: (identifier) @_name (#eq? @_name "css")
10 arguments: (template_string (string_fragment) @injection.content
11 (#set! injection.language "css"))
12)
13
14(call_expression
15 function: (identifier) @_name (#eq? @_name "html")
16 arguments: (template_string (string_fragment) @injection.content
17 (#set! injection.language "html"))
18)
19
20(call_expression
21 function: (identifier) @_name (#eq? @_name "js")
22 arguments: (template_string (string_fragment) @injection.content
23 (#set! injection.language "javascript"))
24)
25
26(call_expression
27 function: (identifier) @_name (#eq? @_name "json")
28 arguments: (template_string (string_fragment) @injection.content
29 (#set! injection.language "json"))
30)
31
32(call_expression
33 function: (identifier) @_name (#eq? @_name "sql")
34 arguments: (template_string (string_fragment) @injection.content
35 (#set! injection.language "sql"))
36)
37
38(call_expression
39 function: (identifier) @_name (#eq? @_name "ts")
40 arguments: (template_string (string_fragment) @injection.content
41 (#set! injection.language "typescript"))
42)
43
44(call_expression
45 function: (identifier) @_name (#match? @_name "^ya?ml$")
46 arguments: (template_string (string_fragment) @injection.content
47 (#set! injection.language "yaml"))
48)
49
50(call_expression
51 function: (identifier) @_name (#match? @_name "^g(raph)?ql$")
52 arguments: (template_string (string_fragment) @injection.content
53 (#set! injection.language "graphql"))
54)
55
56(call_expression
57 function: (identifier) @_name (#match? @_name "^g(raph)?ql$")
58 arguments: (arguments (template_string (string_fragment) @injection.content
59 (#set! injection.language "graphql")))
60)