mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
feat: add indent for fusion and afx
This commit is contained in:
parent
8ec2b6cb9f
commit
a64f509beb
1 changed files with 15 additions and 0 deletions
15
queries/fusion/indents.scm
Normal file
15
queries/fusion/indents.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
(block)
|
||||
(value_dsl)
|
||||
(afx_element)
|
||||
(afx_element_self_closing)
|
||||
] @indent
|
||||
|
||||
|
||||
(block end: _ @branch)
|
||||
(value_dsl end: _ @branch)
|
||||
[
|
||||
(afx_closing_element)
|
||||
] @branch
|
||||
|
||||
(comment) @ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue