mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
tests/indent: add multiple C/C++ tests
This commit is contained in:
parent
77c97d0f8b
commit
15f0813b6e
20 changed files with 211 additions and 11 deletions
|
|
@ -3,4 +3,10 @@ int foo(int x) {
|
|||
return 10;
|
||||
else
|
||||
return x;
|
||||
|
||||
while (1)
|
||||
x++;
|
||||
|
||||
for (int i = 0; i < 3; ++i)
|
||||
x--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue