From 00e9684bc563024284b2e0521a9baa636a38f100 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 22 Sep 2022 10:35:39 +0800 Subject: refine rust setup * rumu.el (rumu-mode): Don't use syntax table to determine comments. That does not work here. * rust-conf.el (rustic-lsp-setup-p): Don't use lsp. --- rumu.el | 2 +- rust-conf.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rumu.el b/rumu.el index eeb900e..6afe414 100644 --- a/rumu.el +++ b/rumu.el @@ -32,7 +32,7 @@ "Major mode for editing rumu files." (set (make-local-variable 'comment-start) ";") (set (make-local-variable 'comment-end) "") - (set (make-local-variable 'comment-use-syntax) t) + (set (make-local-variable 'comment-use-syntax) nil) (set (make-local-variable 'comment-multi-line) nil)) (provide 'rumu) diff --git a/rust-conf.el b/rust-conf.el index 05f9e7c..bec85a3 100644 --- a/rust-conf.el +++ b/rust-conf.el @@ -52,6 +52,7 @@ (use-package "rustic" 'rustic) (setq rustic-lsp-client 'eglot) (setq rustic-format-on-save t) +(setq rustic-lsp-setup-p nil) (add-hook 'eglot-managed-mode-hook #'durand-rust-mode-hook) -- cgit v1.2.3-18-g5258