aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index bf5070c2..2a6c4549 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -82,6 +82,9 @@
(setq rustic-format-on-save t)
(setq rustic-rustfmt-args "--edition 2018"))
+(add-hook 'rust-mode-hook
+ (lambda () (setq indent-tabs-mode nil)))
+
;; Python support
; https://github.com/jorgenschaefer/elpy/issues/1890#issuecomment-792361668
; Need to downgrade jedi to get it to work :(