mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
slint indents
This commit is contained in:
parent
f09d2bc56b
commit
d9321134f6
@ -1,29 +1,11 @@
|
||||
|
||||
; [
|
||||
; (struct_definition)
|
||||
; (component_definition)
|
||||
; ] @indent
|
||||
|
||||
[
|
||||
(field_declaration_list_body)
|
||||
(list_definition_body)
|
||||
(struct_field_declaration_list_body)
|
||||
(field_declaration_list_body)
|
||||
(list_definition_body)
|
||||
(struct_field_declaration_list_body)
|
||||
] @indent
|
||||
|
||||
; [
|
||||
; "{"
|
||||
; "}"
|
||||
; "("
|
||||
; ")"
|
||||
; (if_statement)
|
||||
; "else if"
|
||||
; "else"
|
||||
; ] @branch
|
||||
|
||||
; "{" @indent
|
||||
"}" @indent_end
|
||||
|
||||
(comment) @auto
|
||||
|
||||
(string) @auto
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
")"
|
||||
] @outdent
|
||||
|
Loading…
Reference in New Issue
Block a user