about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-01-13T15·07-0500
committerglittershark <grfn@gws.fyi>2021-01-13T16·53+0000
commitbe9b62c88d789ca0cc89887d52bf80d5b42cb6c4 (patch)
treed2e2ffdae7b2485174b0a63c3633d0b41f9381e1
parentfdccca5b85923c0bc66ee434e0b951b5bf4b81eb (diff)
feat(gs/emacs): Disable flycheck-mode in clojure-mode r/2081
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>
-rw-r--r--users/glittershark/emacs.d/clojure.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/clojure.el b/users/glittershark/emacs.d/clojure.el
index 827183879c48..9b8e8159370f 100644
--- a/users/glittershark/emacs.d/clojure.el
+++ b/users/glittershark/emacs.d/clojure.el
@@ -8,6 +8,9 @@
    (concat thing-at-point-file-name-chars
            "><!?")))
 
+(defun +grfn/clojure-setup ()
+  (flycheck-mode -1))
+
 (after! clojure-mode
   (define-clojure-indent
     (PUT 2)
@@ -23,7 +26,8 @@
     (before 1)
     (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
   ;; :disabled t