diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-06 15:27:42 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-06 15:27:42 +0300 |
commit | cb4693b806827af6d800d61752e459445ed06296 (patch) | |
tree | 593dfe0d690f62aa30d7400f52e29410037d31d1 /emacs.d | |
parent | c1957d7bcd2c168b786548ad96f87fa0668bf11b (diff) | |
download | liw-dot-files-cb4693b806827af6d800d61752e459445ed06296.tar.gz |
fix(emacs): use a shell wrapper to set 2018 edition for rustfmt
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index e4c09be..52bcb38 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -68,11 +68,12 @@ (use-package rust-mode :config - (setq-default rust-format-on-save t)) + (setq-default rust-format-on-save t) + (setq-default rust-rustfmt-bin "~/liw-dot-files/bin/rustfmt-2018")) (use-package flycheck :config - (setq-default flycheck-disabled-checkers '(ptyhon-pylint))) + (setq-default flycheck-disabled-checkers '(python-pylint))) (use-package flycheck-rust) |