Closed sgarciac closed 1 year ago
True, because flycheck-mode is never enabled. Instead, it should probably be
(when (maybe-require-package 'flycheck-rust)
(with-eval-after-load 'rust-mode
(with-eval-after-load 'flycheck
(flycheck-rust-setup))))
Would you like to test that out locally?
Hmm, in fact, that's not quite it. I'd probably try adding flycheck-rust-setup
to rust-mode-hook
instead.
(when (maybe-require-package 'flycheck-rust)
(with-eval-after-load 'rust-mode
(add-hook 'rust-mode-hook #'flycheck-rust-setup)))
does work locally for me.
This got added to the default config, so closing now...
As far as I understand,
in the rust initializer is no longer working after the change from flycheck to flymake, but it is still needed. I got it working by replacing 'flycheck-mode-hook by 'flymake-mode-hook in the add-hook call.