mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -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
|
|
@ -6,7 +6,7 @@
|
|||
(stab_clause)
|
||||
(tuple)
|
||||
(arguments)
|
||||
] @indent
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
")"
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
"rescue"
|
||||
"}"
|
||||
"end"
|
||||
] @indent_end @branch
|
||||
] @indent.end @indent.branch
|
||||
|
||||
; Elixir pipelines are not indented, but other binary operator chains are
|
||||
((binary_operator operator: _ @_operator) @indent (#not-eq? @_operator "|>"))
|
||||
((binary_operator operator: _ @_operator) @indent.begin (#not-eq? @_operator "|>"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue