aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-prog.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-prog.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-prog.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-prog.el b/.emacs.d/rul-lisp/packages/rul-prog.el
index eb9c676..8525883 100644
--- a/.emacs.d/rul-lisp/packages/rul-prog.el
+++ b/.emacs.d/rul-lisp/packages/rul-prog.el
@@ -16,4 +16,11 @@
;; YAML
(use-package yaml-mode :ensure t :defer t)
+;; Rust
+(use-package rust-mode
+ :init
+ (setq rust-mode-treesitter-derive t))
+
+(add-hook 'rust-mode-hook 'eglot-ensure)
+
(provide 'rul-prog)
nihil fit ex nihilo