General, minor refactors

This commit is contained in:
Henrik Lissner 2019-12-30 18:23:56 -05:00
parent 3271cd3a54
commit 960d756b47
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 16 additions and 15 deletions

View file

@ -69,9 +69,9 @@
:unless (featurep! +lsp)
:hook (rustic-mode . racer-mode)
:init
;; Fix #2132: `racer' depends on `rust-mode', which tries to modify
;; `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.
;; HACK Fix #2132: `racer' depends on `rust-mode', which tries to modify
;; `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.
(after! rust-mode
(setq auto-mode-alist (delete '("\\.rs\\'" . rust-mode) auto-mode-alist)))
:config