kakoune/test/indent/go/deindent-generic-closing-brace/in
Michał Kruszewski 0f63dd339a Provide better support for Go language.
1. Highlight short variable declaration operator :=.
2. 'while' is not go keyword.
3. Auto insert ')', '}', when line ends with '(' or '{'.
2020-09-07 21:48:06 +02:00

44 lines
210 B
Plaintext

1
{%( )}
2
{%( )
}
3
{%( )bar()}
4
{%( )bar()
}
5
{
bar()%( )}
6
{
bar()%( )}
7
{(%( ))}
8
{(%( )
)}
9
{(%( )foo())}
10
{(%( )foo()
)}
11
{(
bar()%( ))}
12
{(
bar()%( ))}