helix/runtime/queries/qml/injections.scm

17 lines
403 B
Scheme
Raw Normal View History

2024-09-13 13:28:20 -05:00
((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"))