mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
fix(c_sharp): missing tuple_pattern capture
This commit is contained in:
parent
960cce4eba
commit
b40b683602
2 changed files with 14 additions and 0 deletions
|
@ -38,6 +38,10 @@
|
|||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
||||
(tuple_pattern
|
||||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
||||
(attribute_argument_list
|
||||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
|
|
@ -36,4 +36,14 @@ public class TestClass
|
|||
{
|
||||
return (1, 2, (3, 4));
|
||||
}
|
||||
|
||||
private (int, int) GetTupleValue()
|
||||
{
|
||||
return (1, 2);
|
||||
}
|
||||
|
||||
private void TestConsumeTuple()
|
||||
{
|
||||
var (a, b) = GetTupleValue();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue