fix(wgsl): indent first parameter of function definition

This commit is contained in:
Riley Bruins 2024-11-03 21:13:52 -08:00 committed by Christian Clason
parent 7dc8aabe86
commit 0d3426a2e8
3 changed files with 37 additions and 2 deletions

View file

@ -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)