mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01: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