summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 7358df65..dbf12186 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -721,6 +721,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 ;;;; rust
 (use-package rustic
+  :mode (("\\.rs\\'" . rustic-mode))
   :config (progn
             (setq rustic-format-on-save t
                   lsp-rust-analyzer-display-inlay-hints t