From 669ae48edcb82252e43031b57dad850cca5fd213 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 13 Apr 2025 19:22:19 +0200 Subject: [PATCH] Fix tabs in Rust --- emacs/emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index bf5070c..2a6c454 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 :( -- 2.47.3