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:
parent
ebd7d33fd5
commit
3591a4d440
@ -6,7 +6,8 @@
|
|||||||
;; (load-theme 'wombat t)
|
;; (load-theme 'wombat t)
|
||||||
(use-package solarized-theme
|
(use-package solarized-theme
|
||||||
:init
|
:init
|
||||||
(load-theme 'solarized-selenized-light t))
|
(load-theme 'solarized-selenized-light t)
|
||||||
|
)
|
||||||
|
|
||||||
;; (use-package vscode-dark-plus-theme
|
;; (use-package vscode-dark-plus-theme
|
||||||
;; :config
|
;; :config
|
||||||
@ -318,8 +319,9 @@
|
|||||||
(use-package rustic
|
(use-package rustic
|
||||||
:after lsp-mode
|
:after lsp-mode
|
||||||
:config
|
:config
|
||||||
(add-to-list 'flycheck-checkers 'rustic-clippy)
|
;; (add-to-list 'flycheck-checkers 'rustic-clippy)
|
||||||
(lsp-diagnostics-flycheck-enable)
|
(lsp-diagnostics-flycheck-enable)
|
||||||
|
(push 'rustic-clippy flycheck-checkers)
|
||||||
;; (flycheck-add-next-checker 'lsp 'rustic-clippy)
|
;; (flycheck-add-next-checker 'lsp 'rustic-clippy)
|
||||||
:custom
|
:custom
|
||||||
(rustic-format-trigger 'on-save)
|
(rustic-format-trigger 'on-save)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user