feat(gs/emacs): Disable flycheck-mode in clojure-mode

None of the flycheck checkers work, really, and even if they did I
ignore them most of the time.

Change-Id: Iebb0b5202207f1fbada197bb5667fa8431ab879c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2355
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Griffin Smith 2021-01-13 10:07:44 -05:00 committed by glittershark
parent fdccca5b85
commit be9b62c88d

View file

@ -8,6 +8,9 @@
(concat thing-at-point-file-name-chars (concat thing-at-point-file-name-chars
"><!?"))) "><!?")))
(defun +grfn/clojure-setup ()
(flycheck-mode -1))
(after! clojure-mode (after! clojure-mode
(define-clojure-indent (define-clojure-indent
(PUT 2) (PUT 2)
@ -23,7 +26,8 @@
(before 1) (before 1)
(it 2)) (it 2))
(add-hook 'clojure-mode-hook #'clojure-thing-at-point-setup)) (add-hook 'clojure-mode-hook #'clojure-thing-at-point-setup)
(add-hook 'clojure-mode-hook #'+grfn/clojure-setup))
(use-package! flycheck-clojure (use-package! flycheck-clojure
;; :disabled t ;; :disabled t