File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed
Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change 2929 (then_clause
3030 (_) @conditional.inner )) @conditional.outer
3131
32- ; TODO: rewrite without make-range!
33- ; (function_expression
34- ; (match_case) @_start @_end
35- ; (match_case)* @_end
36- ; (#make-range! "conditional.inner" @_start @_end )) @conditional.outer
37- ;
38- ; (match_expression
39- ; (match_case) @_start @_end
40- ; (match_case)* @_end
41- ; (#make-range! "conditional.inner" @_start @_end )) @conditional.outer
32+ (function_expression
33+ (match_case)+ @conditional.inner ) @conditional.outer
34+
35+ (match_expression
36+ (match_case)+ @conditional.inner ) @conditional.outer
4237(comment) @comment.outer
4338
4439(parameter) @parameter.outer
4540
4641(application_expression
4742 argument: (_) @parameter.outer ) @call.outer
4843
49- ; TODO: rewrite without make-range!
50- ; (application_expression
51- ; argument: (_) @_start @_end
52- ; argument: (_)* @_end
53- ; (#make-range! "call.inner" @_start @_end ))
54- ;
55- ; (parenthesized_expression
56- ; (_) @_start @_end
57- ; (_)? @_end
58- ; (#make-range! "block.inner" @_start @_end )) @block.outer
44+ (application_expression
45+ argument: (_)+ @call.inner )
46+
47+ (parenthesized_expression
48+ _+ @block.inner ) @block.outer
You can’t perform that action at this time.
0 commit comments