Mark Dain Is it possible to configure vim to automatically run go fmt and go test when I save a file? I'd like it to throw a nice warning that since the last edit, the unit tests are no longer passing. If it's not possible in vim, I'll take a serious look at emacs. Anything is possible in emacs.
7y, 45w 1 reply ¬
Login or register your account to reply
Dave Walk This will go fmt for you on save: github.com/fatih/v.... I was using it today and it is sweet. Not sure about go test but couldn't you write your own post-write hook? I'm new to Vim but I imagine that's possible.
7y, 45w reply