edf3c70c30
* Add language: dart The setup requires that dart be in the users path, such as: ``` export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH" ``` Refactor the dart highlights * lang: dart: add indents and locals * lang: dart: corrections to local scope Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
20 lines
233 B
Scheme
20 lines
233 B
Scheme
; Scopes
|
|
;-------
|
|
|
|
[
|
|
(block)
|
|
(try_statement)
|
|
(catch_clause)
|
|
(finally_clause)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
;------------
|
|
|
|
(class_definition
|
|
body: (_) @local.definition)
|
|
|
|
; References
|
|
;------------
|
|
|
|
(identifier) @local.reference
|