refactor(rust): remove redundant code

Amend: c05822ab39
This commit is contained in:
Henrik Lissner 2022-03-31 21:14:58 +02:00
parent c05822ab39
commit 86901cca7d
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -12,11 +12,7 @@
:preface
;; HACK `rustic' sets up some things too early. I'd rather disable it and let
;; our respective modules standardize how they're initialized.
(setq rustic-lsp-client
(when (featurep! +lsp)
(if (featurep! :tools lsp +eglot)
'eglot
'lsp-mode)))
(setq rustic-lsp-client nil)
(after! rustic-lsp
(remove-hook 'rustic-mode-hook 'rustic-setup-lsp))
(after! rustic-flycheck