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
284 B
TOML
20 lines
284 B
TOML
indent = [
|
|
"class_body",
|
|
"function_body",
|
|
"function_expression_body",
|
|
"declaration",
|
|
"initializers",
|
|
"switch_block",
|
|
"if_statement",
|
|
"formal_parameter_list",
|
|
"formal_parameter",
|
|
"list_literal",
|
|
"return_statement",
|
|
"arguments"
|
|
]
|
|
|
|
outdent = [
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|