aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2024-08-12 13:56:33 -0300
committerRaul Benencia <raul@thousandeyes.com>2024-08-12 13:57:04 -0300
commitaaa0fbad927d5700bb682839e0904f6b5b996747 (patch)
tree2b0f7e5bb9cece5564e06b011dd5e02b9bc3ee38 /.emacs.d/rul-lisp/packages
parentd355b78daf0a63baff88012eb4bbd0e70427d956 (diff)
emacs: ensure eglot when rust
Diffstat (limited to '.emacs.d/rul-lisp/packages')
-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