diff options
| author | ganhaque <ganhaquegnq@gmail.com> | 2024-04-04 10:12:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 15:12:31 +0000 |
| commit | 1b050206e490a4146cdf25c7b38969c1711b5620 (patch) | |
| tree | 26864c4e3bc00871617b621c69120b42bbb9f223 /tests/indent/rust | |
| parent | chore: update downstream fish highlights (diff) | |
| download | nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar.gz nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar.bz2 nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar.lz nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar.xz nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.tar.zst nvim-treesitter-1b050206e490a4146cdf25c7b38969c1711b5620.zip | |
fix(rust): indentation in multi-line tuple pattern (#6402)
* fix(rust): indentation in multi-line tuple pattern
* test(indent): rust - add test for tuple pattern indent
Diffstat (limited to 'tests/indent/rust')
| -rw-r--r-- | tests/indent/rust/tuple.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/indent/rust/tuple.rs b/tests/indent/rust/tuple.rs new file mode 100644 index 000000000..9001f77a5 --- /dev/null +++ b/tests/indent/rust/tuple.rs @@ -0,0 +1,8 @@ +fn foo() { + for ( + a, + b + ) in c.iter() { + // ... + } +} |
