mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
fix(typst): indentation for block and branch
This commit is contained in:
parent
c6d295e966
commit
8557ba1b5b
8 changed files with 80 additions and 1 deletions
12
tests/indent/typst_spec.lua
Normal file
12
tests/indent/typst_spec.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local Runner = require('tests.indent.common').Runner
|
||||
|
||||
local run = Runner:new(it, 'tests/indent/typst', {
|
||||
tabstop = 4,
|
||||
shiftwidth = 4,
|
||||
softtabstop = 4,
|
||||
expandtab = false,
|
||||
})
|
||||
|
||||
describe('indent typst:', function()
|
||||
run:whole_file('.')
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue