diff --git a/modules/lang/rust/config.el b/modules/lang/rust/config.el index 4a9d1a5e7..ba2039cd6 100644 --- a/modules/lang/rust/config.el +++ b/modules/lang/rust/config.el @@ -38,5 +38,5 @@ :when (featurep! :feature syntax-checker) :after rust-mode :hook (flycheck-mode . flycheck-rust-setup) - :config (add-hook 'rust-mode-hook #'flycheck-mode)) + :init (add-hook 'rust-mode-hook #'flycheck-mode))