From 86901cca7dcdbd3a0bb091eae307b89794fbc827 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 31 Mar 2022 21:14:58 +0200 Subject: [PATCH] refactor(rust): remove redundant code Amend: c05822ab3938 --- modules/lang/rust/config.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/lang/rust/config.el b/modules/lang/rust/config.el index 0ce39d245..b9971ad85 100644 --- a/modules/lang/rust/config.el +++ b/modules/lang/rust/config.el @@ -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