kakoune/test/indent/go/deindent-generic-closing-brace/in
Michał Kruszewski f78cd6daf8 Improve '}' auto inserting for go language.
Adding "} else if ... {" was not correctly handled.
2020-09-20 12:25:26 +02:00

50 lines
257 B
Plaintext

1
{%( )}
2
{%( )
}
3
{%( )bar()}
4
{%( )bar()
}
5
{
bar()%( )}
6
{
bar()%( )}
7
{(%( ))}
8
{(%( )
)}
9
{(%( )foo())}
10
{(%( )foo()
)}
11
{(
bar()%( ))}
12
{(
bar()%( ))}
13
a := []int{
someFunction(%( )
),
}