tweekmonster / gofmt.vim

A Vim plugin that runs gofmt when you save

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gofmt is not found outside the `GOPATH`

itaranto opened this issue · comments

My gofmt is under /usr/bin which is in PATH, yet gofmt.vim is unable to find it.

As a workaround I used:
let g:gofmt_exe = '/usr/bin/gofmt