Closed evanmoses-okta closed 4 years ago
With fluent-style function calls we might have many-line continuations with chained function calls. go-mode is adding an additional indent level after every line.
go-mode
Go-mode's actual formatting:
func Test() { foo := Bar(). Baz(). Quxx(). Another() }
Expected (gofmt):
foo := Bar(). Baz(). Quxx(). Another()
Thanks for the report! Can you make sure it's fixed for you by above change?
@muirdm it works! Thanks for fixing.
With fluent-style function calls we might have many-line continuations with chained function calls.
go-mode
is adding an additional indent level after every line.Go-mode's actual formatting:
Expected (gofmt):