mirror of https://github.com/helix-editor/helix
Add Typescript queries
parent
88c7710b64
commit
0a3f40c410
@ -0,0 +1,30 @@
|
||||
(arrow_function
|
||||
body: (_) @context.end
|
||||
) @context
|
||||
|
||||
(function_declaration
|
||||
body: (_) @context.end
|
||||
) @context
|
||||
|
||||
(
|
||||
(expression_statement
|
||||
(call_expression
|
||||
function: (_)))
|
||||
(statement_block) @context.end
|
||||
) @context
|
||||
|
||||
[
|
||||
(call_expression)
|
||||
(class_declaration)
|
||||
(else_clause)
|
||||
(for_statement)
|
||||
(interface_declaration)
|
||||
(interface_declaration)
|
||||
(lexical_declaration)
|
||||
(lexical_declaration)
|
||||
(method_definition)
|
||||
(object)
|
||||
(pair)
|
||||
(while_statement)
|
||||
] @context
|
||||
|
Loading…
Reference in New Issue