diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-06-12 09:54:30 -0600 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 692b051b09935653befdb8f7ba8afdb640adf17b (patch) | |
| tree | 167162b6b129ae04f68c5735078521a72917c742 /queries/tiger/indents.scm | |
| parent | feat(c-family): inherit injections (diff) | |
| download | nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.gz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.bz2 nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.lz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.xz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.zst nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.zip | |
feat!: drop modules, general refactor and cleanup
Diffstat (limited to 'queries/tiger/indents.scm')
| -rw-r--r-- | queries/tiger/indents.scm | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/queries/tiger/indents.scm b/queries/tiger/indents.scm deleted file mode 100644 index 686bfde16..000000000 --- a/queries/tiger/indents.scm +++ /dev/null @@ -1,104 +0,0 @@ -; Control flow {{{ -(if_expression) @indent.begin - -"then" @indent.branch - -"else" @indent.branch - -(while_expression) @indent.begin - -"do" @indent.branch - -(for_expression) @indent.begin - -"to" @indent.branch - -; }}} -; Class {{{ -(class_declaration) @indent.begin - -(class_declaration - "}" @indent.end) - -(class_type) @indent.begin - -(class_type - "}" @indent.end) - -; }}} -; Groups {{{ -(let_expression) @indent.begin - -"in" @indent.branch - -"end" @indent.branch - -(let_expression - "end" @indent.end) - -(sequence_expression) @indent.begin - -")" @indent.branch - -(sequence_expression - ")" @indent.end) - -; }}} -; Functions and methods {{{ -(parameters) @indent.begin - -(parameters - ")" @indent.end) - -(function_call) @indent.begin - -(function_call - ")" @indent.end) - -(method_call) @indent.begin - -")" @indent.branch - -(function_declaration) @indent.begin - -(primitive_declaration) @indent.begin - -(method_declaration) @indent.begin - -; }}} -; Values and expressions {{{ -(array_value) @indent.begin - -"]" @indent.branch - -(array_value - "]" @indent.end) - -(array_expression) @indent.begin - -"of" @indent.branch - -(record_expression) @indent.begin - -"}" @indent.branch - -(record_expression - "}" @indent.end) - -(record_type) @indent.begin - -"}" @indent.branch - -(record_type - "}" @indent.end) - -(variable_declaration) @indent.begin - -; }}} -; Misc{{{ -(comment) @indent.ignore - -(string_literal) @indent.ignore - -; }}} -; vim: sw=2 foldmethod=marker |
