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

7 lines
180 B
EmacsLisp
Raw Normal View History

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