From: alex Date: Sun, 13 Apr 2025 17:22:19 +0000 (+0200) Subject: Fix tabs in Rust X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=669ae48edcb82252e43031b57dad850cca5fd213;p=alex.git Fix tabs in Rust --- 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 :(