mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md adjust indents for bass fix doc capture comment
This commit is contained in:
parent
b4fcc61175
commit
cb568af539
80 changed files with 592 additions and 575 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue