mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -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
|
|
@ -10,7 +10,7 @@
|
|||
(list_literal)
|
||||
(return_statement)
|
||||
(arguments)
|
||||
] @indent
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
@ -19,13 +19,13 @@
|
|||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @branch
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"}"
|
||||
] @indent_end
|
||||
] @indent.end
|
||||
|
||||
; this one is for dedenting the else block
|
||||
(if_statement (block) @branch)
|
||||
(if_statement (block) @indent.branch)
|
||||
|
||||
(comment) @ignore
|
||||
(comment) @indent.ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue