summaryrefslogtreecommitdiff
path: root/runtime/queries/qml/injections.scm
blob: 1ce987d3508079cea45b6159ccfb2802f8f7e88b (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"))

([
    (empty_statement)
    (expression_statement)
    (function_declaration)
    (generator_function_declaration)
    (statement_block)
    (switch_statement)
    (try_statement)
    (variable_declaration)
    (with_statement)
  ] @injection.content
  (#set! injection.include-children)
  (#set! injection.language "javascript"))