summaryrefslogtreecommitdiff
path: root/runtime/queries/meson/indents.scm
diff options
context:
space:
mode:
authorGarrett D'Amore2022-11-16 02:17:03 +0000
committerGitHub2022-11-16 02:17:03 +0000
commitf843967059fc36bf497bde31ce9ed18b1354f1eb (patch)
treebe08a0e1c215b175d2b66fe5855e1cd99c335997 /runtime/queries/meson/indents.scm
parent70ebbd018ad80c9fe0067c99f5fa86d1c529486a (diff)
Improvements to Meson syntax. (#4572)
Co-authored-by: Garrett D'Amore <garrett.damore@weka.io> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries/meson/indents.scm')
-rw-r--r--runtime/queries/meson/indents.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/meson/indents.scm b/runtime/queries/meson/indents.scm
index a1c7b3fa..2a4c6c62 100644
--- a/runtime/queries/meson/indents.scm
+++ b/runtime/queries/meson/indents.scm
@@ -1,5 +1,5 @@
+; Indentation queries for helix
[
- (method_expression)
(function_expression)
(array_literal)
(dictionary_literal)
@@ -7,10 +7,11 @@
(iteration_statement)
] @indent
+; question - what about else, elif
[
")"
"]"
"}"
- "endif"
- "endforeach"
+ (endif)
+ (endforeach)
] @outdent