diff options
| author | benj <benj@rse8.com> | 2019-04-16 20:34:17 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2019-04-16 20:34:17 -0700 |
| commit | faeeda87a3a4f615ba57411175581265eddc1a7c (patch) | |
| tree | 267e1508e6953dde6886916e3c6dcb0217380229 /settings/setup-flycheck.el | |
| parent | ff2fb190c5b4a80df3a70c07425519c43c664319 (diff) | |
| download | emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar.gz emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar.bz2 emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar.lz emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar.xz emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.tar.zst emacs-faeeda87a3a4f615ba57411175581265eddc1a7c.zip | |
flycheck; go; rust; org; treemacs
Diffstat (limited to '')
| -rw-r--r-- | settings/setup-flycheck.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/setup-flycheck.el b/settings/setup-flycheck.el index 63fca3f..764fe36 100644 --- a/settings/setup-flycheck.el +++ b/settings/setup-flycheck.el @@ -19,6 +19,11 @@ '(custom-set-variables '(flycheck-display-errors-function #'flycheck-pos-tip-error-messages))) +;; hack to get around go tool vet issue +(let ((govet (flycheck-checker-get 'go-vet 'command))) + (when (equal (cadr govet) "tool") + (setf (cdr govet) (cddr govet)))) + (global-set-key (kbd "<f2>") 'flyspell-auto-correct-previous-word) (setq flycheck-clangcheck-analyze t) |
