mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 23:10:11 -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
|
|
@ -3,19 +3,19 @@
|
|||
(jsx_element)
|
||||
(jsx_self_closing_element)
|
||||
(jsx_expression)
|
||||
] @indent
|
||||
] @indent.begin
|
||||
|
||||
(jsx_fragment
|
||||
("<" ">" (_) "<" @branch "/" ">" @indent_end)
|
||||
("<" ">" (_) "<" @indent.branch "/" ">" @indent.end)
|
||||
)
|
||||
|
||||
(jsx_closing_element (">" @indent_end))
|
||||
(jsx_self_closing_element ">" @indent_end)
|
||||
(jsx_closing_element (">" @indent.end))
|
||||
(jsx_self_closing_element ">" @indent.end)
|
||||
|
||||
[
|
||||
(jsx_closing_element)
|
||||
">"
|
||||
] @branch
|
||||
] @indent.branch
|
||||
; <button
|
||||
; />
|
||||
(jsx_self_closing_element "/" @branch)
|
||||
(jsx_self_closing_element "/" @indent.branch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue