diff options
| author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-06-14 15:46:13 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-07 21:37:18 +0200 |
| commit | 6ec7516d3d7ef5f6e7a87986bb567548795a6286 (patch) | |
| tree | 2c1facf36f4cefb0394beb8209bc0a382edcefad /queries | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar.gz nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar.bz2 nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar.lz nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar.xz nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.tar.zst nvim-treesitter-6ec7516d3d7ef5f6e7a87986bb567548795a6286.zip | |
Add Julia indent queries
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/julia/indents.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/queries/julia/indents.scm b/queries/julia/indents.scm new file mode 100644 index 000000000..cc348c1fe --- /dev/null +++ b/queries/julia/indents.scm @@ -0,0 +1,40 @@ +[ + (struct_definition) + (macro_definition) + (function_definition) + + (if_statement) + (try_statement) + (for_statement) + (while_statement) + (let_statement) + (quote_statement) + + (do_clause) + (compound_expression) + + (assignment_expression) + (binary_expression) + (call_expression) + + (array_expression) + (tuple_expression) + (matrix_expression) +] @indent + +[ + "end" + "(" + ")" + "[" + "]" + (else_clause) + (elseif_clause) +] @branch + +[ + (comment) + (block_comment) + (triple_string) +] @ignore + |
