From 772f351e52c1c99f823c4ef9e9a3c23a12f21a5b Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sun, 29 Sep 2024 17:08:30 -0700 Subject: [PATCH] Load flycheck earlier --- thoom-emacs/init.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/thoom-emacs/init.el b/thoom-emacs/init.el index 92a0fca..932f873 100644 --- a/thoom-emacs/init.el +++ b/thoom-emacs/init.el @@ -769,12 +769,10 @@ :ensure t :init (setq flycheck-keymap-prefix (kbd "C-c e")) + (global-flycheck-mode) :bind (:repeat-map flycheck-repeat-map - ("n" . flycheck-next-error) - ("p" . flycheck-previous-error)) - :config - (add-hook 'after-init-hook #'global-flycheck-mode)) - + ("n" . flycheck-next-error) + ("p" . flycheck-previous-error))) ;;;; Nix (use-package nix-mode