mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
chore: update JSX from upstream
This commit is contained in:
parent
08aabb145f
commit
823e67a1c9
3 changed files with 10 additions and 16 deletions
|
|
@ -1,16 +1,11 @@
|
|||
[
|
||||
(jsx_fragment)
|
||||
(jsx_element)
|
||||
(jsx_self_closing_element)
|
||||
(jsx_expression)
|
||||
] @indent.begin
|
||||
|
||||
(jsx_fragment
|
||||
("<" ">" (_) "<" @indent.branch "/" ">" @indent.end)
|
||||
)
|
||||
|
||||
(jsx_closing_element (">" @indent.end))
|
||||
(jsx_self_closing_element ">" @indent.end)
|
||||
(jsx_self_closing_element "/>" @indent.end)
|
||||
|
||||
[
|
||||
(jsx_closing_element)
|
||||
|
|
@ -18,4 +13,4 @@
|
|||
] @indent.branch
|
||||
; <button
|
||||
; />
|
||||
(jsx_self_closing_element "/" @indent.branch)
|
||||
(jsx_self_closing_element "/>" @indent.branch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue