Skip to content

Commit 21a870b

Browse files
committed
doc/rust.txt: rearrange the Syntastic section
1 parent 7cd4cb5 commit 21a870b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/rust.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -171,20 +171,9 @@ g:rust_clip_command~
171171
let g:rust_clip_command = 'xclip -selection clipboard'
172172
<
173173

174-
*g:rust_cargo_avoid_whole_workspace*
175-
*b:rust_cargo_avoid_whole_workspace*
176-
g:rust_cargo_avoid_whole_workspace~
177-
When editing a crate that is part of a Cargo workspace, and this
178-
option is set to 1 (the default), then 'cargo' will be executed
179-
directly in that crate directory instead of in the workspace
180-
directory. Setting 0 prevents this behavior - however be aware that if
181-
you are working in large workspace, Cargo commands may take more time,
182-
plus the Syntastic error list may include all the crates in the
183-
workspace. >
184-
let g:rust_cargo_avoid_whole_workspace = 0
185-
<
186174

187175
Integration with Syntastic *rust-syntastic*
176+
--------------------------
188177

189178
This plugin automatically integrates with the Syntastic checker. There are two
190179
checkers provided: 'rustc', and 'cargo'. The later invokes 'Cargo' in order to
@@ -198,7 +187,18 @@ days, 'cargo' is the default checker. >
198187
<
199188
If you would like to change it, you can set `g:syntastic_rust_checkers` to a
200189
different value.
201-
190+
*g:rust_cargo_avoid_whole_workspace*
191+
*b:rust_cargo_avoid_whole_workspace*
192+
g:rust_cargo_avoid_whole_workspace~
193+
When editing a crate that is part of a Cargo workspace, and this
194+
option is set to 1 (the default), then 'cargo' will be executed
195+
directly in that crate directory instead of in the workspace
196+
directory. Setting 0 prevents this behavior - however be aware that if
197+
you are working in large workspace, Cargo commands may take more time,
198+
plus the Syntastic error list may include all the crates in the
199+
workspace. >
200+
let g:rust_cargo_avoid_whole_workspace = 0
201+
<
202202

203203
==============================================================================
204204
COMMANDS *rust-commands*

0 commit comments

Comments
 (0)