From faeeda87a3a4f615ba57411175581265eddc1a7c Mon Sep 17 00:00:00 2001 From: benj Date: Tue, 16 Apr 2019 20:34:17 -0700 Subject: flycheck; go; rust; org; treemacs --- settings/setup-flycheck.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'settings/setup-flycheck.el') 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 "") 'flyspell-auto-correct-previous-word) (setq flycheck-clangcheck-analyze t) -- cgit v1.2.3