summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-lang-rust.el10
1 files changed, 1 insertions, 9 deletions
diff --git a/emacs/custom/my-lang-rust.el b/emacs/custom/my-lang-rust.el
index e6374a7..b0d3904 100644
--- a/emacs/custom/my-lang-rust.el
+++ b/emacs/custom/my-lang-rust.el
@@ -6,19 +6,11 @@
 ;;; Code:
 
 (require 'rustic)
-(require 'lsp-rust)
-
-(setq lsp-rust-analyzer-cargo-watch-enable t)
-(setq lsp-rust-analyzer-proc-macro-enable t)
-(setq lsp-rust-full-docs t)
-(setq lsp-rust-server 'rust-analyzer)
 
 (setq rustic-format-on-save t)
-(setq rustic-lsp-client 'lsp-mode)
+(setq rustic-lsp-client 'eglot)
 (setq rustic-lsp-server 'rust-analyzer)
 
-(add-hook 'rusti-mode-hook #'lsp-deferred)
-
 (provide 'my-lang-rust)
 
 ;;; my-lang-rust.el ends here