Fix typo
This commit is contained in:
parent
6500ff88ff
commit
3cd81c0d9e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
(add-hook 'before-save-hook #'gofmt-before-save)
|
(add-hook 'before-save-hook #'gofmt-before-save)
|
||||||
(add-hook 'go-mode-hook 'eglot-ensure)
|
(add-hook 'go-mode-hook 'eglot-ensure)
|
||||||
(defun me/go-mode-compile-command-hook ()
|
(defun me/go-mode-compile-command-hook ()
|
||||||
;; if no makefile use go build for compile command
|
;; if no makefile use go vet for compile command
|
||||||
(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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue