summaryrefslogtreecommitdiff
path: root/emacs.d
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-12-20 13:03:30 +0200
committerLars Wirzenius <liw@liw.fi>2022-12-20 13:03:30 +0200
commitdffdd606897e06a5a940a8a7cb1b6009e44cde61 (patch)
tree5a6f1d66be010509de6c83016534564c36ef1388 /emacs.d
parent5c536913667e08da897aad9c8961461a00b4a9f4 (diff)
downloadliw-dot-files-dffdd606897e06a5a940a8a7cb1b6009e44cde61.tar.gz
emacss: format Rust source files on savbe
Sponsored-by: author
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 2cce151..e2a48cc 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -96,8 +96,8 @@
;; (setq lsp-enable-symbol-highlighting nil)
;; (setq lsp-signature-auto-activate nil)
- ;; comment to disable rustfmt on save
- (setq rustic-format-on-save nil))
+ ;; en/disable rustfmt on save
+ (setq rustic-format-on-save t))
;; Mode for using the Rust Language Server Protocol for nicer Rust
;; editing.