mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -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
|
|
@ -12,25 +12,25 @@
|
|||
(array_literal)
|
||||
(struct_literal)
|
||||
(tuple_literal)
|
||||
] @indent
|
||||
] @indent.begin
|
||||
|
||||
(if_statement
|
||||
("(" condition: (_) ")") @indent)
|
||||
("(" condition: (_) ")") @indent.begin)
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
")"
|
||||
] @indent_end
|
||||
] @indent.end
|
||||
|
||||
[ "{" "}" ] @branch
|
||||
[ "{" "}" ] @indent.branch
|
||||
|
||||
[ "[" "]" ] @branch
|
||||
[ "[" "]" ] @indent.branch
|
||||
|
||||
[ "(" ")" ] @branch
|
||||
[ "(" ")" ] @indent.branch
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
(concatenated_string)
|
||||
] @auto
|
||||
] @indent.auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue