This will run go fmt on save.

:autocmd BufWritePost *.go silent ! go fmt >/dev/null

On Monday, 10 October 2016 14:04:21 UTC+2, 김용빈 wrote:
>
> Tank you Sander.
>
> I successfully installed and it works well.
>
> Still I want to know simple way though.
> If anyone knows about it, please let me know. :)
>
>

-- 
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-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to