diff options
author | Raul Benencia <raul@thousandeyes.com> | 2024-08-12 13:56:33 -0300 |
---|---|---|
committer | Raul Benencia <raul@thousandeyes.com> | 2024-08-12 13:57:04 -0300 |
commit | aaa0fbad927d5700bb682839e0904f6b5b996747 (patch) | |
tree | 2b0f7e5bb9cece5564e06b011dd5e02b9bc3ee38 /.emacs.d/rul-lisp/packages | |
parent | d355b78daf0a63baff88012eb4bbd0e70427d956 (diff) |
emacs: ensure eglot when rust
Diffstat (limited to '.emacs.d/rul-lisp/packages')
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-prog.el | 7 |
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) |