aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/slint/indents.scm
diff options
context:
space:
mode:
authorTobias Hunger2024-02-07 18:36:29 +0000
committerGitHub2024-02-07 18:36:29 +0000
commita1272bdb17a63361342a318982e46129d558743c (patch)
tree9ffc411114f1f7a38b14f75431730480c7ee238e /runtime/queries/slint/indents.scm
parentbbcc89241fd63b460ea7b1661a550f5b9eacba4c (diff)
slint: Update treesitter parser and queries (#9551)
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
Diffstat (limited to 'runtime/queries/slint/indents.scm')
-rw-r--r--runtime/queries/slint/indents.scm17
1 files changed, 8 insertions, 9 deletions
diff --git a/runtime/queries/slint/indents.scm b/runtime/queries/slint/indents.scm
index 4b5ce41b..189f8a0e 100644
--- a/runtime/queries/slint/indents.scm
+++ b/runtime/queries/slint/indents.scm
@@ -1,12 +1,11 @@
[
- (comp_body)
- (state_statement)
- (transition_statement)
- (handler_body)
- (consequence_body)
- (global_single)
+ (anon_struct_block)
+ (assignment_block)
+ (block)
+ (enum_block)
+ (global_block)
+ (imperative_block)
+ (struct_block)
] @indent
-[
- "}"
-] @outdent
+"}" @outdent