about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-14T21·38+0200
committersterni <sternenseemann@systemli.org>2021-09-15T10·25+0000
commiteb65d13f5a3aace92578d49dc89e11a6b202cb6b (patch)
tree9c778b6772fbd91ed4280d836c2b6f91a06030f0 /users
parent4ebab80b5a026cc15c57f5a0eafa5e1af053f0c9 (diff)
feat(users/sterni/emacs): enable rust mode r/2859
Change-Id: I49c8f5c0c18ac7664f5f120ad23a55c3bc19bd5b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3545
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users')
-rw-r--r--users/sterni/emacs/default.nix1
-rw-r--r--users/sterni/emacs/init.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix
index 615f66133055..5da28ccfda82 100644
--- a/users/sterni/emacs/default.nix
+++ b/users/sterni/emacs/default.nix
@@ -19,6 +19,7 @@ let
     epkgs.melpaPackages.nix-mode
     epkgs.melpaPackages.sly
     epkgs.melpaPackages.yaml-mode
+    epkgs.rust-mode
     epkgs.urweb-mode
     # misc
     epkgs.melpaPackages.hl-todo
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index 9213ab5b8e3d..13a2caa90da8 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -152,6 +152,7 @@
   :custom bqn-mode-map-prefix "C-s-") ; probably rather using C-\
 (use-package yaml-mode)
 (use-package dockerfile-mode)
+(use-package rust-mode)
 (use-package sly
   :after evil
   :hook ((sly-mrepl-mode . (lambda () (rainbow-delimiters-mode-enable))))