diff options
| author | George Harker <george@george-graphics.co.uk> | 2023-03-20 14:44:39 -0700 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2023-03-24 13:07:53 -0400 |
| commit | cb568af5393241e5dbc9c19157c5df5e9ca9af2d (patch) | |
| tree | e3a1848a3f1c7a03a4ecadd14f95022eaeb52f0f /queries/java | |
| parent | split delimiter into open_delimiter and close_delimiter (diff) | |
| download | nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.gz nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.bz2 nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.lz nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.xz nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.tar.zst nvim-treesitter-cb568af5393241e5dbc9c19157c5df5e9ca9af2d.zip | |
use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md
adjust indents for bass
fix doc capture comment
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/indents.scm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/queries/java/indents.scm b/queries/java/indents.scm index 033c314ec..017646e5b 100644 --- a/queries/java/indents.scm +++ b/queries/java/indents.scm @@ -8,9 +8,9 @@ (array_initializer) (argument_list) (formal_parameters) -] @indent +] @indent.begin -(expression_statement (method_invocation) @indent) +(expression_statement (method_invocation) @indent.begin) [ "(" @@ -19,13 +19,14 @@ "}" "[" "]" -] @branch +] @indent.branch -"}" @indent_end +"}" @indent.end -(line_comment) @ignore +(line_comment) @indent.ignore [ (ERROR) (block_comment) -] @auto +] @indent.auto + |
