This commit is contained in:
Kostas 2020-05-18 16:50:10 -07:00 committed by GitHub
parent 3fd3fc380f
commit ba9448e17a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
:init :init
;; HACK Fix #2132: `racer' depends on `rust-mode', which tries to modify ;; HACK Fix #2132: `racer' depends on `rust-mode', which tries to modify
;; `auto-mode-alist'. We make extra sure that doesn't stick, especially ;; `auto-mode-alist'. We make extra sure that doesn't stick, especially
;; when a buffer is reverted, as it is after rustfmt is done wiht it. ;; when a buffer is reverted, as it is after rustfmt is done with it.
(after! rust-mode (after! rust-mode
(setq auto-mode-alist (delete '("\\.rs\\'" . rust-mode) auto-mode-alist))) (setq auto-mode-alist (delete '("\\.rs\\'" . rust-mode) auto-mode-alist)))
:config :config