Re: [go-nuts] Modifying AST and preserving comments

2018-03-27 Thread Fatih Arslan
gt; func main() { > > fakeFunc("foo") > > } > > > > What's the best way to manipulate the AST while preserving comments? > Would using https://godoc.org/golang.org/x/tools/go/ast/astutil#Apply > improve the situation? > > > -- > You receiv

Re: [go-nuts] goimports flag parity with gofmt

2017-06-13 Thread Fatih Arslan
: > Yes, but what I need is to run "goimports" and then "gofmt -s". If > goimports supported -s, then I would be able to do what I need, but not > with current vim-go implementation. > > On Tue, Jun 13, 2017 at 3:00 PM Fatih Arslan wrote: > >> I think ther

Re: [go-nuts] goimports flag parity with gofmt

2017-06-13 Thread Fatih Arslan
; cd . >>>>> /usr/lib64/go/pkg/tool/linux_amd64/6l -o >>>>> $WORK/code.google.com/p/go.tools/cmd/goimports/_obj/exe/a.out -L $WORK >>>>> -L /home/vtolstov/devel/go/pkg/linux_amd64 >>>>> $WORK/code.google.com/p/go.tools/cmd/goimports.a >&

Re: [go-nuts] vim setup for auto go fmt on save.

2016-10-12 Thread Fatih Arslan
unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Fatih Arslan -- You received this message because you are subscribed to the Google Groups "go

Re: [go-nuts] Can I see all output of `go test` in VIM when i use vim-go plugin?

2016-09-14 Thread Fatih Arslan
..@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Fatih Arslan -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang