aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/c
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-07-27 03:51:13 -0400
committerGitHub <noreply@github.com>2023-07-27 09:51:13 +0200
commitad3805f5c34b51890c3d3c37c2f0c86269598a32 (patch)
treec9af039d63e77ba68e4d7befc74775dcc347fea6 /tests/indent/c
parentfix(hcl, terraform): adapt to scanner rewrite (diff)
downloadnvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar.gz
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar.bz2
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar.lz
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar.xz
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.tar.zst
nvim-treesitter-ad3805f5c34b51890c3d3c37c2f0c86269598a32.zip
fix(c)!: update C, CPP parsers and queries
also update derived parsers (arduino, cuda, glsl, hlsl, ispc, objc)
Diffstat (limited to 'tests/indent/c')
-rw-r--r--tests/indent/c/if_else.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/indent/c/if_else.c b/tests/indent/c/if_else.c
index 0a81b3594..e71aa328c 100644
--- a/tests/indent/c/if_else.c
+++ b/tests/indent/c/if_else.c
@@ -55,6 +55,5 @@ int baz(int x){
else
x++;
}
- else
- return x;
+ return 0;
}