diff options
| author | Ronan Arraes Jardim Chagas <ronisbr@gmail.com> | 2023-10-27 09:53:58 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 21:53:58 +0900 |
| commit | a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b (patch) | |
| tree | 58e7f6d44cf8bb7169d97e5c52117a5abc2b7b2d | |
| parent | Fix Julia indentation after end and with parenthesis at the beginning of line... (diff) | |
| download | nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar.gz nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar.bz2 nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar.lz nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar.xz nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.tar.zst nvim-treesitter-a07ce2155be3648a0ea9b2fe767ec5ab1a8b299b.zip | |
Fix indent. of curly expressions and of ],} in BOL (#5580)
| -rw-r--r-- | queries/julia/indents.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/queries/julia/indents.scm b/queries/julia/indents.scm index 9da8af357..d854b937b 100644 --- a/queries/julia/indents.scm +++ b/queries/julia/indents.scm @@ -22,16 +22,21 @@ (comprehension_expression) (matrix_expression) (vector_expression) + (curly_expression) ] @indent.begin [ "end" + ")" + "]" + "}" ] @indent.end [ "end" ")" "]" + "}" (else_clause) (elseif_clause) (catch_clause) |
