Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/govim: ensure that GOPATH is in a hidden directory (govim#702)
In testscript tests, Vim is opened with a working directory of the workdir. This means that the govim file watcher is watching every file beneath that directory (every file not hidden, that is). GOPATH is currently $WORK/gopath which means that the govim file watcher will, incorrectly, be spotting .go files that change within the module cache. Fix this be explicitly putting GOPATH within $HOME which is already defined as $WORK/.home
- Loading branch information