Disable flycheck in elisp mode

This commit is contained in:
2025-01-31 14:59:55 -08:00
parent 2dd637e8ad
commit 5e667181c2

View File

@@ -854,6 +854,8 @@
:init :init
(setq flycheck-keymap-prefix (kbd "C-c e")) (setq flycheck-keymap-prefix (kbd "C-c e"))
(global-flycheck-mode) (global-flycheck-mode)
;; Elisp lint errors are annoying, so disable flycheck in elisp modes
:hook (emacs-lisp-mode . (lambda () (flycheck-mode -1)))
:bind (:repeat-map flycheck-repeat-map :bind (:repeat-map flycheck-repeat-map
("n" . flycheck-next-error) ("n" . flycheck-next-error)
("p" . flycheck-previous-error))) ("p" . flycheck-previous-error)))