all repos — nixfiles @ 40b8dcfb3e88c766ff3d4346f1c1fef03bc0305f

System and user configuration, managed by nix and home-manager

Emacs: lazy-load rustic-mode
Alan Pearce alan@alanpearce.eu
Mon, 17 May 2021 13:40:58 +0200
commit

40b8dcfb3e88c766ff3d4346f1c1fef03bc0305f

parent

0cece245719f8cfe1faf5840dd5c44d9bcbeeb5c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -721,6 +721,7 @@ "go build -v && go test && go vet")))))) 
 ;;;; rust
 (use-package rustic
+  :mode (("\\.rs\\'" . rustic-mode))
   :config (progn
             (setq rustic-format-on-save t
                   lsp-rust-analyzer-display-inlay-hints t