aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index cea1546..4018538 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -556,6 +556,13 @@
:hook ((go-mode . lsp-deferred)
(go-mode . mssola/golang-before-save-hooks)))
+;; Rust development environment with everything already cooked in.
+(use-package rustic
+ :mode ("\\.rs\\'" . rust-mode)
+ :mode ("\\.rs\\'" . rustic-mode)
+ :custom
+ (rustic-analyzer-command '("rustup" "run" "stable" "rust-analyzer")))
+
;; Utils
;; Provide the `xref-find-definitions' interactive function which can be used to