I am recently moving from sublime 3 go to mvim (vim on the mac os) and am trying to get my Golang development environment to be as similar on vim to my sublime implementation as possible.
Within my sublime setup, it runs go build
anytime I save the a Go file. This provides me instant feedback on if I have unused vars or other info go build
provides.
I'm attempting to move to vim, and am wondering if I can have this functionality implemented there as well. I am using vim-go but have not found a setting to implement this.
In short I want to run :GoBuild
upon the saving of a Go file while using vim / vim-go. Is this Possible and how do I do so?