@@ -128,15 +128,14 @@ g:rustfmt_autosave~
128
128
129
129
*g:rustfmt_autosave_if_config_present*
130
130
g:rustfmt_autosave_if_config_present~
131
- Set this option to 1 to to have *b:rustfmt_autosave* be set automatically
132
- if a `rustfmt.toml` file is present in any parent directly leading to
131
+ Set this option to 1 to have *b:rustfmt_autosave* be set automatically
132
+ if a `rustfmt.toml` file is present in any parent directly leading to
133
133
the file being edited. If not set, default to 0: >
134
-
135
134
let g:rustfmt_autosave_if_config_present = 0
136
135
<
137
136
This is useful to have `rustfmt` only execute on save, on projects
138
137
that have `rustfmt.toml` configuration.
139
-
138
+
140
139
There is also a buffer-local b:rustfmt_autosave_if_config_present
141
140
that can be set for the same purpose, which can overrides the global
142
141
setting.
@@ -161,6 +160,7 @@ g:rustfmt_emit_files~
161
160
provided) instead of '--write-mode=overwrite'. >
162
161
let g:rustfmt_emit_files = 0
163
162
163
+
164
164
*g:rust_playpen_url*
165
165
g:rust_playpen_url~
166
166
Set this option to override the url for the playpen to use: >
@@ -192,9 +192,9 @@ Integration with Syntastic *rust-syntastic*
192
192
--------------------------
193
193
194
194
This plugin automatically integrates with the Syntastic checker. There are two
195
- checkers provided: 'rustc' , and 'cargo' . The later invokes 'Cargo' in order to
195
+ checkers provided: 'rustc' , and 'cargo' . The latter invokes 'Cargo' in order to
196
196
build code, and the former delivers a single edited '.rs' file as a compilation
197
- target directly to the Rust compiler, `rustc` .
197
+ target directly to the Rust compiler, `rustc` .
198
198
199
199
Because Cargo is almost exclusively being used for building Rust code these
200
200
days, 'cargo' is the default checker. >
@@ -354,7 +354,8 @@ Playpen integration
354
354
| g:rust_clip_command | is the command to run to copy the
355
355
playpen url to the clipboard of your system.
356
356
357
- Evaulation of a single Rust file
357
+
358
+ Evaluation of a single Rust file
358
359
--------------------------------
359
360
360
361
NOTE: These commands are useful only when working with standalone Rust files,
0 commit comments