Add flymake-clippy config
This commit is contained in:
parent
636ebd2a1c
commit
4d3311251d
7
init.el
7
init.el
|
@ -998,6 +998,13 @@
|
||||||
:requires flymake
|
:requires flymake
|
||||||
:hook (yaml-ts-mode . flymake-yamllint-setup))
|
: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
|
(use-package flymake-eslint
|
||||||
:if (and (executable-find "eslint")
|
:if (and (executable-find "eslint")
|
||||||
(package-installed-p 'flymake-eslint))
|
(package-installed-p 'flymake-eslint))
|
||||||
|
|
Loading…
Reference in a new issue