summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-05-17 13:40:58 +0200
committerAlan Pearce2021-05-17 13:40:58 +0200
commit40b8dcfb3e88c766ff3d4346f1c1fef03bc0305f (patch)
treeebd55046edd25154639a3f736a0b693e63f3bf25
parent0cece245719f8cfe1faf5840dd5c44d9bcbeeb5c (diff)
downloadnixfiles-40b8dcfb3e88c766ff3d4346f1c1fef03bc0305f.tar.xz
nixfiles-40b8dcfb3e88c766ff3d4346f1c1fef03bc0305f.zip
Emacs: lazy-load rustic-mode
-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
721 721
722;;;; rust 722;;;; rust
723(use-package rustic 723(use-package rustic
724 :mode (("\\.rs\\'" . rustic-mode))
724 :config (progn 725 :config (progn
725 (setq rustic-format-on-save t 726 (setq rustic-format-on-save t
726 lsp-rust-analyzer-display-inlay-hints t 727 lsp-rust-analyzer-display-inlay-hints t