Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/tolk/indents.scm')
| -rw-r--r-- | runtime/queries/tolk/indents.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/runtime/queries/tolk/indents.scm b/runtime/queries/tolk/indents.scm new file mode 100644 index 00000000..cc094127 --- /dev/null +++ b/runtime/queries/tolk/indents.scm @@ -0,0 +1,24 @@ +; indent +; ------ + +[ + (block_statement) + (match_expression) + (struct_declaration) + (object_literal) +] @indent + +; outdent +; ------- + +[ + "}" + ")" + ">" +] @outdent + +; indent.always +; outdent.always +; align +; extend +; extend.prevent-once |