summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-08-31 19:04:03 +0800
committerJSDurand <mmemmew@gmail.com>2023-08-31 19:04:03 +0800
commit70fedd989f461d18f1954e1e6c0d24eab80363ae (patch)
treee178f89dd4a6c2631e89a7f1715e868adec8fb2d
parentdf27fb536549b7fce1091b68e1fc98d89f386491 (diff)
rust-conf: use the built-in eglot
* rust-conf.el ("eglot"): The package eglot is built-in since Emacs 29, so I can use that package without downloading the source codes of that package now.
-rw-r--r--rust-conf.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/rust-conf.el b/rust-conf.el
index bec85a3..71f696b 100644
--- a/rust-conf.el
+++ b/rust-conf.el
@@ -36,7 +36,9 @@
(require 'seq)
(use-package "spinner.el" 'spinner)
(use-package "xterm-color" 'xterm-color)
-(use-package "eglot" 'eglot)
+
+;; Now this is built-in since Emacs-29.
+(require 'eglot)
(define-key eglot-mode-map (kbd "C-c r") #'eglot-rename)
(define-key eglot-mode-map (vector 3 ?\C-o)