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)
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'rustic-mode-local-vars-hook #'lsp!))
|
||||
(if (featurep! +lsp)
|
||||
(add-hook 'rustic-mode-local-vars-hook #'lsp!)
|
||||
(after! rustic-flycheck
|
||||
(add-to-list 'flycheck-checkers 'rustic-clippy)))
|
||||
|
||||
(map! :map rustic-mode-map
|
||||
:localleader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue