Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/nim/indents.scm')
| -rw-r--r-- | runtime/queries/nim/indents.scm | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/runtime/queries/nim/indents.scm b/runtime/queries/nim/indents.scm deleted file mode 100644 index 3b302386..00000000 --- a/runtime/queries/nim/indents.scm +++ /dev/null @@ -1,65 +0,0 @@ -[ - (if) - (when) - (elif_branch) - (else_branch) - (of_branch) ; note: not case_statement - (block) - (while) - (for) - (try) - (except_branch) - (finally_branch) - (defer) - (static_statement) - (proc_declaration) - (func_declaration) - (iterator_declaration) - (converter_declaration) - (method_declaration) - (template_declaration) - (macro_declaration) - (symbol_declaration) -] @indent -;; increase the indentation level - -[ - (if) - (when) - (elif_branch) - (else_branch) - (of_branch) ; note: not case_statement - (block) - (while) - (for) - (try) - (except_branch) - (finally_branch) - (defer) - (static_statement) - (proc_declaration) - (func_declaration) - (iterator_declaration) - (converter_declaration) - (method_declaration) - (template_declaration) - (macro_declaration) - (symbol_declaration) -] @extend -;; ??? - -[ - (return_statement) - (raise_statement) - (yield_statement) - (break_statement) - (continue_statement) -] @extend.prevent-once -;; end a level of indentation while staying indented - -[ - ")" ; tuples - "]" ; arrays, seqs - "}" ; sets -] @outdent -;; end a level of indentation and unindent the line |