Add locals.scm for dart

This is an initial stab at this since I don't know much about how this
should work but this seems to at leas allow incremental selection of
most block of code
This commit is contained in:
Akin Sowemimo 2020-09-20 20:55:45 +01:00 committed by Thomas Vigouroux
parent 8c10b1a14d
commit 00e1a5555a

8
queries/dart/locals.scm Normal file
View file

@ -0,0 +1,8 @@
(class_definition
body: (_) @scope)
(block) @scope
(try_statement) @scope
(catch_clause) @scope
(finally_clause) @scope