summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-01-03 10:00:23 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-01-03 10:00:23 -0800
commita2dcf8089370086ecf9dddd4447a6f4db15ba549 (patch)
tree99bf63293a2efd33202cdc9bcc635221293d81b0 /emacs.d
parent[emacs] gofmt on save (diff)
downloademacs.d-a2dcf8089370086ecf9dddd4447a6f4db15ba549.tar.gz
[emacs] Import environment variable "GOPATH".
Having this variable imported helps flycheck.
Diffstat (limited to '')
-rw-r--r--emacs.d/inits/00_emacs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/inits/00_emacs.el b/emacs.d/inits/00_emacs.el
index 7284e8a..511076b 100644
--- a/emacs.d/inits/00_emacs.el
+++ b/emacs.d/inits/00_emacs.el
@@ -23,7 +23,7 @@
   :ensure t
   :config
   (exec-path-from-shell-initialize)
-  (exec-path-from-shell-copy-envs '("TMPDIR")))
+  (exec-path-from-shell-copy-envs '("TMPDIR" "GOPATH")))
 
 (use-package server
   :config