mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -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
|
|
@ -13,17 +13,17 @@
|
|||
(table_constructor)
|
||||
(arguments)
|
||||
(return_statement)
|
||||
] @indent
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"end"
|
||||
")"
|
||||
"}"
|
||||
] @indent_end
|
||||
] @indent.end
|
||||
|
||||
(return_statement
|
||||
(expression_list
|
||||
(function_call))) @dedent
|
||||
(function_call))) @indent.dedent
|
||||
|
||||
[
|
||||
"end"
|
||||
|
|
@ -35,8 +35,9 @@
|
|||
(elseif_statement)
|
||||
"else"
|
||||
(else_statement)
|
||||
] @branch
|
||||
] @indent.branch
|
||||
|
||||
(comment) @auto
|
||||
(comment) @indent.auto
|
||||
|
||||
(string) @indent.auto
|
||||
|
||||
(string) @auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue