mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
fix(wgsl): indent first parameter of function definition
This commit is contained in:
parent
7dc8aabe86
commit
0d3426a2e8
3 changed files with 37 additions and 2 deletions
|
|
@ -15,5 +15,10 @@ describe("indent WGSL:", function()
|
|||
})
|
||||
end)
|
||||
|
||||
describe("new line:", function() end)
|
||||
describe("new line:", function()
|
||||
run:new_line("basic.wgsl", { on_line = 47, text = "c: u32,", indent = 2 })
|
||||
run:new_line("basic.wgsl", { on_line = 52, text = "c: u32,", indent = 2 })
|
||||
run:new_line("basic.wgsl", { on_line = 56, text = "c: u32,", indent = 2 })
|
||||
run:new_line("basic.wgsl", { on_line = 59, text = "c: u32,", indent = 2 })
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue