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:
parent
fdccca5b85
commit
be9b62c88d
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue