Something went wrong. Try again.
A post-modern development environment.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435(function_definition (_)? @function.inside) @function.around
; Short-form `f(x) = …` is now an assignment with a call_expression LHS.((assignment . (call_expression)) @function.inside) @function.around
(macro_definition (_)? @function.inside) @function.around
(struct_definition (_)? @class.inside) @class.around
(abstract_definition (_)? @class.inside) @class.around
(primitive_definition (_)? @class.inside) @class.around
; Parameters and call arguments both live in argument_list now.(argument_list ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(curly_expression ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(line_comment) @comment.inside
(line_comment)+ @comment.around
(block_comment) @comment.inside
(block_comment)+ @comment.around
(macrocall_expression (macro_identifier (identifier) @_name (#match? @_name "^(test|test_throws|test_logs|inferred|test_deprecated|test_warn|test_nowarn|test_broken|test_skip)$") ) . (macro_argument_list) @test.inside) @test.around