@@ -20,6 +20,9 @@ SETTINGS *rust-settings*
20
20
This plugin has a few variables you can define in your vimrc that change the
21
21
behavior of the plugin.
22
22
23
+ Some variables can be set buffer local (`:b ` prefix), and the buffer local
24
+ will take precedence over the global `g: ` counterpart.
25
+
23
26
*g:rustc_path*
24
27
g:rustc_path~
25
28
Set this option to the path to rustc for use in the | :RustRun | and
@@ -199,6 +202,38 @@ g:rust_cargo_avoid_whole_workspace~
199
202
workspace. >
200
203
let g:rust_cargo_avoid_whole_workspace = 0
201
204
<
205
+ *g:rust_cargo_check_all_targets*
206
+ *b:rust_cargo_check_all_targets*
207
+ g:rust_cargo_check_all_targets~
208
+ When set to 1, the `-- all - targets` option will be passed to cargo when
209
+ Syntastic executes it, allowing the linting of all targets under the
210
+ package.
211
+ The default is 0.
212
+
213
+ *g:rust_cargo_check_examples*
214
+ *b:rust_cargo_check_examples*
215
+ g:rust_cargo_check_examples~
216
+ When set to 1, the `-- examples` option will be passed to cargo when
217
+ Syntastic executes it, to prevent the exclusion of examples from
218
+ linting. The examples are normally under the `examples/` directory of
219
+ the crate.
220
+ The default is 0.
221
+
222
+ *g:rust_cargo_check_tests*
223
+ *b:rust_cargo_check_tests*
224
+ g:rust_cargo_check_tests~
225
+ When set to 1, the `-- tests` option will be passed to cargo when
226
+ Syntastic executes it, to prevent the exclusion of tests from linting.
227
+ The tests are normally under the `tests/` directory of the crate.
228
+ The default is 0.
229
+
230
+ *g:rust_cargo_check_benches*
231
+ *b:rust_cargo_check_benches*
232
+ g:rust_cargo_check_benches~
233
+ When set to 1, the `-- benches` option will be passed to cargo when
234
+ Syntastic executes it. The benches are normally under the `benches/`
235
+ directory of the crate.
236
+ The default is 0.
202
237
203
238
==============================================================================
204
239
COMMANDS *rust-commands*
0 commit comments