From 380a337727c3e46019d2dbd6c0356216ea8ff7e8 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 19 Jun 2024 13:02:49 +0200 Subject: [PATCH] pinwheel: Don't trigger `flycheck-rust-setup` when in `flycheck-mode` --- hosts/pinwheel/modules/emacs/config.org | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hosts/pinwheel/modules/emacs/config.org b/hosts/pinwheel/modules/emacs/config.org index bc87f39..b0b4011 100644 --- a/hosts/pinwheel/modules/emacs/config.org +++ b/hosts/pinwheel/modules/emacs/config.org @@ -593,11 +593,7 @@ Setup prefix for keybindings. #+BEGIN_SRC emacs-lisp (use-package flycheck-rust) - (use-package rust-mode - :hook ( - (flycheck-mode . #'flycheck-rust-setup) - ) - ) + (use-package rust-mode) #+END_SRC ** GLSL #+BEGIN_SRC emacs-lisp