aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/wgsl
diff options
context:
space:
mode:
authorganhaque <ganhaque.main@gmail.com>2024-11-06 12:09:14 -0600
committerGitHub <noreply@github.com>2024-11-06 10:09:14 -0800
commitea3a37a9758d873feec3feac37a358e4225a5871 (patch)
tree5f3dc4c03bc65b54d16bc95d56861dcb17d00967 /tests/indent/wgsl
parentbot(readme): update (diff)
downloadnvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar.gz
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar.bz2
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar.lz
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar.xz
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.tar.zst
nvim-treesitter-ea3a37a9758d873feec3feac37a358e4225a5871.zip
fix(wgsl): indent call expression params (#7309)
Diffstat (limited to 'tests/indent/wgsl')
-rw-r--r--tests/indent/wgsl/type_constructor_or_function_call_expression.wgsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/indent/wgsl/type_constructor_or_function_call_expression.wgsl b/tests/indent/wgsl/type_constructor_or_function_call_expression.wgsl
new file mode 100644
index 000000000..dff667e77
--- /dev/null
+++ b/tests/indent/wgsl/type_constructor_or_function_call_expression.wgsl
@@ -0,0 +1,11 @@
+fn f() {
+ let a = foo(
+ b,
+ c,
+ );
+
+ let a = Foo(
+ b,
+ c,
+ );
+}