noonat / sublime-gofmt

Sublime plugin to run gofmt (or goimports, or whatever you want).
MIT License
28 stars 6 forks source link

Use the PWD of the current Go file #8

Closed mitranim closed 6 years ago

mitranim commented 6 years ago

Using the default PWD (the location of Sublime's binary) sometimes causes goimports to fail to add new imports; setting the PWD to the Go directory prevents that.

mitranim commented 6 years ago

Got another change scheduled; will open a PR after this one.

noonat commented 6 years ago

Thanks! Merged and tagged v0.1.4.