chd/.emacs.d/jlj-golang.el

7 lines
179 B
EmacsLisp
Raw Normal View History

2020-01-04 22:53:01 +00:00
(use-package eglot
:ensure t
:config
(add-hook 'go-mode-hook 'eglot-ensure)
(local-set-key "\C-x\C-m" 'compile)
(setq compile-command "go test -v && go vet && golint"))