Instead of built call vet for go mode
This commit is contained in:
parent
4ffa85e429
commit
24dad03eeb
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@
|
||||||
(unless (or (file-exists-p "makefile")
|
(unless (or (file-exists-p "makefile")
|
||||||
(file-exists-p "Makefile"))
|
(file-exists-p "Makefile"))
|
||||||
(set (make-local-variable 'compile-command)
|
(set (make-local-variable 'compile-command)
|
||||||
(concat "go " "build " buffer-file-name))))
|
(concat "go " "vet " buffer-file-name))))
|
||||||
|
|
||||||
(add-hook 'go-mode-hook 'me/go-mode-compile-command-hook)
|
(add-hook 'go-mode-hook 'me/go-mode-compile-command-hook)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue