1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

use clippy for lsp

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-10-28 01:13:19 +02:00
parent ebd7d33fd5
commit 3591a4d440

View File

@ -6,7 +6,8 @@
;; (load-theme 'wombat t)
(use-package solarized-theme
:init
(load-theme 'solarized-selenized-light t))
(load-theme 'solarized-selenized-light t)
)
;; (use-package vscode-dark-plus-theme
;; :config
@ -318,8 +319,9 @@
(use-package rustic
:after lsp-mode
:config
(add-to-list 'flycheck-checkers 'rustic-clippy)
;; (add-to-list 'flycheck-checkers 'rustic-clippy)
(lsp-diagnostics-flycheck-enable)
(push 'rustic-clippy flycheck-checkers)
;; (flycheck-add-next-checker 'lsp 'rustic-clippy)
:custom
(rustic-format-trigger 'on-save)