feat(lang): expand golang-related env vars which are imported

This commit is contained in:
2020-11-15 17:13:19 +00:00
parent 3812b3df29
commit 9a51b31c9e

View File

@@ -53,6 +53,10 @@
:config
(when (not (getenv "GOPATH"))
(exec-path-from-shell-copy-env "GOPATH"))
(when (not (getenv "GOBIN"))
(exec-path-from-shell-copy-env "GOBIN"))
(when (not (getenv "GOROOT"))
(exec-path-from-shell-copy-env "GOROOT"))
(when (not (getenv "GOPRIVATE"))
(exec-path-from-shell-copy-env "GOPRIVATE"))
(when (not (getenv "GOENV_GOPATH_PREFIX"))