mirror of https://github.com/helix-editor/helix
slint indents
parent
f09d2bc56b
commit
d9321134f6
@ -1,29 +1,11 @@
|
|||||||
|
|
||||||
; [
|
|
||||||
; (struct_definition)
|
|
||||||
; (component_definition)
|
|
||||||
; ] @indent
|
|
||||||
|
|
||||||
[
|
[
|
||||||
(field_declaration_list_body)
|
(field_declaration_list_body)
|
||||||
(list_definition_body)
|
(list_definition_body)
|
||||||
(struct_field_declaration_list_body)
|
(struct_field_declaration_list_body)
|
||||||
] @indent
|
] @indent
|
||||||
|
|
||||||
; [
|
[
|
||||||
; "{"
|
"}"
|
||||||
; "}"
|
"]"
|
||||||
; "("
|
")"
|
||||||
; ")"
|
] @outdent
|
||||||
; (if_statement)
|
|
||||||
; "else if"
|
|
||||||
; "else"
|
|
||||||
; ] @branch
|
|
||||||
|
|
||||||
; "{" @indent
|
|
||||||
"}" @indent_end
|
|
||||||
|
|
||||||
(comment) @auto
|
|
||||||
|
|
||||||
(string) @auto
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue