refactor: use newly introduced consolidated syntax

This commit is contained in:
TravonteD 2020-06-19 09:59:27 -04:00
parent 772aa4c169
commit 0f836e0602
5 changed files with 197 additions and 135 deletions

View file

@ -24,8 +24,10 @@
((method) @scope
(set! scope-inherits false))
(block) @scope
(do_block) @scope
[
(block)
(do_block)
] @scope
(method_parameters (identifier) @definition.function)
(lambda_parameters (identifier) @definition.function)