diff options
| author | Akin Sowemimo <akin.sowemimo@gmail.com> | 2020-09-20 20:55:45 +0100 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-20 22:10:21 +0200 |
| commit | 00e1a5555aba4a0e182003792037af7377bd585f (patch) | |
| tree | a3871727a77577adee8caed578f81e5415275e57 | |
| parent | 8c10b1a14d158cb5c81fdc5ab0507451b5f465a4 (diff) | |
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
| -rw-r--r-- | queries/dart/locals.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/queries/dart/locals.scm b/queries/dart/locals.scm new file mode 100644 index 00000000..1013d4a9 --- /dev/null +++ b/queries/dart/locals.scm @@ -0,0 +1,8 @@ +(class_definition + body: (_) @scope) + + (block) @scope + + (try_statement) @scope + (catch_clause) @scope + (finally_clause) @scope |
