home/test/indent/go/insert-comment/out
Tony Gong 039a10a34c Do not indent Golang comments as code
When indenting on newline in Go files, only remove trailing whitespace
on the previous line and copy indentation of the previous line if in
comment context.

Added regression tests.
2022-06-05 06:05:45 -07:00

16 lines
71 B
Plaintext

1
// foo(bar,
//
2
// foo(bar,
//
3
// foo{
//
4
// foo{
//