mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Make go-projectile behave with new GOPATH style
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user