mirror of https://github.com/golang/go.git
We currently write directly to go.mod/sum via the go command, expecting that editors will pick up the changes. While that's true for VS Code, vim doesn't necessarily reload unchanged buffers. Change to send explicit edits instead, but only if the file is open. Behavior when using Go versions that don't support -modfile is unchanged. Fixes golang/go#44035. Change-Id: Ie4e5cf60673b860f5dfcbdb726bee0efe6aae405 Reviewed-on: https://go-review.googlesource.com/c/tools/+/290189 Trust: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typesinternal | ||
| xcontext | ||