diff options
author | Martin Polden <mpolden@mpolden.no> | 2024-05-08 19:17:35 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2024-05-08 19:26:42 +0200 |
commit | 3dc208d72a7d1ef31c10f714a4d3cd2f315da3e9 (patch) | |
tree | bded00758893ab78efc9a713af82e09527684dc5 | |
parent | 7079357c968de0ab97cde0af5a18aa0cbae0acf3 (diff) |
rust: switch to plain rust-mode
Rustic has a number of problems:
- Emits many warnings during Elisp compilation
- Package appears unmaintained
- Doesn't offer anything substantial over plain rust-mode. For example, LSP
integration is already handled by init-eglot
- Pulls in multiple dependencies not used by any other packages in this config
-rw-r--r-- | lisp/init-rust.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/init-rust.el b/lisp/init-rust.el index fe676a7..0bd1816 100644 --- a/lisp/init-rust.el +++ b/lisp/init-rust.el @@ -2,12 +2,8 @@ ;;; Commentary: ;;; Code: -(use-package rustic - :ensure t - :init - ;; let init-eglot handle lsp integration - (setq rustic-lsp-setup-p nil) - (setq rustic-lsp-client 'eglot)) +(use-package rust-mode + :ensure t) (provide 'init-rust) |