diff options
Diffstat (limited to '.emacs.d/lisp/rust-rustfmt.el')
| -rw-r--r-- | .emacs.d/lisp/rust-rustfmt.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.d/lisp/rust-rustfmt.el b/.emacs.d/lisp/rust-rustfmt.el index 6fb0e87..adaeb0d 100644 --- a/.emacs.d/lisp/rust-rustfmt.el +++ b/.emacs.d/lisp/rust-rustfmt.el | |||
| @@ -33,8 +33,10 @@ | |||
| 33 | :type 'string | 33 | :type 'string |
| 34 | :group 'rust-mode) | 34 | :group 'rust-mode) |
| 35 | 35 | ||
| 36 | (defcustom rust-rustfmt-switches '("--edition" "2024") | 36 | (defcustom rust-rustfmt-switches nil |
| 37 | "Arguments to pass when invoking the `rustfmt' executable." | 37 | "Arguments to pass when invoking the `rustfmt' executable. This variable |
| 38 | will override any user configuration (e.g. rustfmt.toml). Recommendation | ||
| 39 | is to not modify this and rely on declarative configuration instead." | ||
| 38 | :type '(repeat string) | 40 | :type '(repeat string) |
| 39 | :group 'rust-mode) | 41 | :group 'rust-mode) |
| 40 | 42 | ||
