summaryrefslogtreecommitdiff
path: root/lisp/rust.el
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-03-18 14:57:57 -0400
committermattkae <mattkae@protonmail.com>2023-03-18 14:57:57 -0400
commit9c35a97343172c2253b84f490b3ea195dff0b54c (patch)
treea699f58845a263e763d9e95da47dc9660cfa0497 /lisp/rust.el
parent38893cc42e33fc3ab5b80ef592b66226b9ba91cf (diff)
Including rust and some org-mode updates
Diffstat (limited to 'lisp/rust.el')
-rw-r--r--lisp/rust.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/rust.el b/lisp/rust.el
new file mode 100644
index 0000000..f200c40
--- /dev/null
+++ b/lisp/rust.el
@@ -0,0 +1,13 @@
+
+(use-package rust-mode
+ :ensure t
+ :config
+ (setq rust-format-on-save t))
+
+(use-package eglot
+ :ensure t
+ :after (rust-mode)
+ :config
+ (add-hook 'rust-mode-hook 'eglot-ensure))
+
+(provide 'rust)