dart: Improve indentation (#18845)
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
5bb18adbe8
commit
dd44168cad
2 changed files with 6 additions and 18 deletions
|
@ -840,6 +840,9 @@
|
||||||
"allowed": true
|
"allowed": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Dart": {
|
||||||
|
"tab_size": 2
|
||||||
|
},
|
||||||
"Elixir": {
|
"Elixir": {
|
||||||
"language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
|
"language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
(class_definition
|
(_ "[" "]" @end) @indent
|
||||||
"class" @context
|
(_ "{" "}" @end) @indent
|
||||||
name: (_) @name) @item
|
(_ "(" ")" @end) @indent
|
||||||
|
|
||||||
(function_signature
|
|
||||||
name: (_) @name) @item
|
|
||||||
|
|
||||||
(getter_signature
|
|
||||||
"get" @context
|
|
||||||
name: (_) @name) @item
|
|
||||||
|
|
||||||
(setter_signature
|
|
||||||
"set" @context
|
|
||||||
name: (_) @name) @item
|
|
||||||
|
|
||||||
(enum_declaration
|
|
||||||
"enum" @context
|
|
||||||
name: (_) @name) @item
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue