Enable rustic-clippy checker in LSP's absence
This commit is contained in:
parent
7eafc54347
commit
a4293b53a1
1 changed files with 4 additions and 2 deletions
|
@ -28,8 +28,10 @@
|
||||||
|
|
||||||
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
|
(add-hook 'rustic-mode-hook #'rainbow-delimiters-mode)
|
||||||
|
|
||||||
(when (featurep! +lsp)
|
(if (featurep! +lsp)
|
||||||
(add-hook 'rustic-mode-local-vars-hook #'lsp!))
|
(add-hook 'rustic-mode-local-vars-hook #'lsp!)
|
||||||
|
(after! rustic-flycheck
|
||||||
|
(add-to-list 'flycheck-checkers 'rustic-clippy)))
|
||||||
|
|
||||||
(map! :map rustic-mode-map
|
(map! :map rustic-mode-map
|
||||||
:localleader
|
:localleader
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue