From c5f8e1143af94ce7c0564e0b6379a885505962a7 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 14 Mar 2021 22:04:11 +0100 Subject: rust: Stop setting tab-width --- lisp/init-rust.el | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lisp/init-rust.el') diff --git a/lisp/init-rust.el b/lisp/init-rust.el index d56d37b..4b755db 100644 --- a/lisp/init-rust.el +++ b/lisp/init-rust.el @@ -1,11 +1,5 @@ -(defun rust-mode-buffer-local-variables () - ;; eglot passes tab-width as tab size when formatting code, when using rustfmt - ;; this should be 4 - (setq-local tab-width 4)) - (use-package rust-mode :ensure t - :hook (rust-mode . rust-mode-buffer-local-variables) :bind (:map rust-mode-map ("C-c l" . rust-clippy) ("C-c t" . rust-test) -- cgit v1.2.3