Make go-projectile behave with new GOPATH style

This commit is contained in:
2016-07-06 23:16:20 +01:00
parent 916964173e
commit df86748738

View File

@@ -46,6 +46,9 @@
;; gofmt on save
(add-hook 'before-save-hook 'gofmt-before-save nil t)
;; prevent go-projectile from screwing up GOPATH
(setq go-projectile-switch-gopath 'never)
;; enable company-mode
(set (make-local-variable 'company-backends) '(company-go))
(company-mode +1)