From cecfed659a53c1b72ac16ab5e2bfa4170067bc81 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 14 Oct 2022 17:44:19 -0700 Subject: ref(rust): delete the module I'm not going to need this Change-Id: I692dbbaf14c574b988aa9989057c06a553971e1c --- emacs/custom/my-lang-rust.el | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 emacs/custom/my-lang-rust.el (limited to 'emacs/custom') diff --git a/emacs/custom/my-lang-rust.el b/emacs/custom/my-lang-rust.el deleted file mode 100644 index e6374a7..0000000 --- a/emacs/custom/my-lang-rust.el +++ /dev/null @@ -1,24 +0,0 @@ -;;; my-lang-rust.el --- configure emacs for rust -*- lexical-binding: t -*- -;; Author: Franck Cuny - -;;; Commentary: - -;;; 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-server 'rust-analyzer) - -(add-hook 'rusti-mode-hook #'lsp-deferred) - -(provide 'my-lang-rust) - -;;; my-lang-rust.el ends here -- cgit 1.4.1