summaryrefslogtreecommitdiff
path: root/runtime/queries/slint/indents.scm
diff options
context:
space:
mode:
authorErasin Wang2023-08-13 07:18:57 +0000
committerGitHub2023-08-13 07:18:57 +0000
commit19dff5c3a4c1f41436cc11372e5e7dcbfe197112 (patch)
tree94f1a2fa6bcec16c222b4215492c3472bae58dac /runtime/queries/slint/indents.scm
parentb0c270f8e6f11cf6501b21c2ce785822a6f76c7b (diff)
Update slint grammar (#7893)
Diffstat (limited to 'runtime/queries/slint/indents.scm')
-rw-r--r--runtime/queries/slint/indents.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/queries/slint/indents.scm b/runtime/queries/slint/indents.scm
index 37bbd536..4b5ce41b 100644
--- a/runtime/queries/slint/indents.scm
+++ b/runtime/queries/slint/indents.scm
@@ -1,11 +1,12 @@
[
- (field_declaration_list_body)
- (list_definition_body)
- (struct_field_declaration_list_body)
+ (comp_body)
+ (state_statement)
+ (transition_statement)
+ (handler_body)
+ (consequence_body)
+ (global_single)
] @indent
[
"}"
- "]"
- ")"
] @outdent