summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index dbf12186..8440b9c7 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -726,7 +726,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq rustic-format-on-save t
                   lsp-rust-analyzer-display-inlay-hints t
                   lsp-rust-analyzer-cargo-watch-command "clippy")
-            (add-to-list 'flycheck-checkers 'rustic-clippy)))
+            (with-eval-after-load 'flycheck
+              (add-to-list 'flycheck-checkers 'rustic-clippy))))
 
 ;;;; js
 (setq js-indent-level 2