Emacs: fix flycheck config in rustic-mode
Alan Pearce alan@alanpearce.eu
Mon, 17 May 2021 13:41:10 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -726,7 +726,8 @@ :config (progn (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