mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
16
runtime/queries/jsx/indents.scm
Normal file
16
runtime/queries/jsx/indents.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[
|
||||
(jsx_element)
|
||||
(jsx_self_closing_element)
|
||||
(jsx_expression)
|
||||
] @indent.begin
|
||||
|
||||
(jsx_closing_element (">" @indent.end))
|
||||
(jsx_self_closing_element "/>" @indent.end)
|
||||
|
||||
[
|
||||
(jsx_closing_element)
|
||||
">"
|
||||
] @indent.branch
|
||||
; <button
|
||||
; />
|
||||
(jsx_self_closing_element "/>" @indent.branch)
|
||||
Loading…
Add table
Add a link
Reference in a new issue