diff --git a/init.el b/init.el index cff2668..b4c2fd6 100644 --- a/init.el +++ b/init.el @@ -998,6 +998,13 @@ :requires flymake :hook (yaml-ts-mode . flymake-yamllint-setup)) +(use-package flymake-clippy + :if (and (executable-find "clippy") + (package-installed-p 'flymake-clippy)) + :functions flymake-clippy-setup-backend + :requires flymake + :hook (rust-mode . flymake-clippy-setup-backend)) + (use-package flymake-eslint :if (and (executable-find "eslint") (package-installed-p 'flymake-eslint))