diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2021-04-17 22:47:02 +0200 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-04-23 21:21:38 +0200 |
| commit | 15f0813b6e0682e3f2c3b611610f6ef67cc87449 (patch) | |
| tree | 80d795bb93249c432980164dda51f5a5267425cd /lua/tests/indent/c/array.c | |
| parent | tests/indent: refactor indent test runner and auto-discover language test files (diff) | |
| download | nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar.gz nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar.bz2 nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar.lz nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar.xz nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.tar.zst nvim-treesitter-15f0813b6e0682e3f2c3b611610f6ef67cc87449.zip | |
tests/indent: add multiple C/C++ tests
Diffstat (limited to 'lua/tests/indent/c/array.c')
| -rw-r--r-- | lua/tests/indent/c/array.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/tests/indent/c/array.c b/lua/tests/indent/c/array.c new file mode 100644 index 000000000..5bb67c2c8 --- /dev/null +++ b/lua/tests/indent/c/array.c @@ -0,0 +1,14 @@ +int x[] = { + 1, 2, 3, + 4, 5, + 6 +}; + +int y[][2] = { + {0, 1}, + {1, 2}, + { + 2, + 3 + }, +}; |
