mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -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
|
|
@ -41,3 +41,20 @@ fn vertex(vertex: Vertex,
|
|||
out.b = 2;
|
||||
return out;
|
||||
}
|
||||
|
||||
fn foo(
|
||||
a: u32,
|
||||
b: u32,
|
||||
) {
|
||||
return a;
|
||||
}
|
||||
|
||||
fn bar(
|
||||
) {}
|
||||
|
||||
fn baz(
|
||||
a: u32,
|
||||
) {}
|
||||
|
||||
fn qux(
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue