mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
fix(typst): indentation for block and branch
This commit is contained in:
parent
67d0fd3e0a
commit
0f5b204603
8 changed files with 81 additions and 1 deletions
15
tests/indent/typst/if.typ
Normal file
15
tests/indent/typst/if.typ
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#if true {
|
||||
"this is one leve"
|
||||
}
|
||||
|
||||
#set page(header: {
|
||||
if true {
|
||||
"this is internal on level"
|
||||
}
|
||||
})
|
||||
|
||||
#if true {
|
||||
if false {
|
||||
"this is it"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue