diff options
author | Novus Nota | 2024-02-04 01:09:11 +0000 |
---|---|---|
committer | GitHub | 2024-02-04 01:09:11 +0000 |
commit | d1054de3ced44903c7bdcf5886d8481eb40a948f (patch) | |
tree | c02d4845b68072a94f1daff489043f9d3f7394f8 /runtime/queries/tact/indents.scm | |
parent | 3f380722fbb2fd676ccc0a9dbbea4ddc4871c6ea (diff) |
feat: Add `Tact` language support (#9512)
Re-submitting
Diffstat (limited to 'runtime/queries/tact/indents.scm')
-rw-r--r-- | runtime/queries/tact/indents.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/runtime/queries/tact/indents.scm b/runtime/queries/tact/indents.scm new file mode 100644 index 00000000..62c532b2 --- /dev/null +++ b/runtime/queries/tact/indents.scm @@ -0,0 +1,38 @@ +; indent +; ------ + +[ + ; (..., ...) + (parameter_list) + (argument_list) + + ; {..., ...} + (instance_argument_list) + + ; {...; ...} + (message_body) + (struct_body) + (contract_body) + (trait_body) + (function_body) + (block_statement) + + ; misc. + (binary_expression) + (return_statement) +] @indent + +; outdent +; ------- + +[ + "}" + ")" + ">" +] @outdent + +; indent.always +; outdent.always +; align +; extend +; extend.prevent-once
\ No newline at end of file |