Skip to content

Commit c04ae84

Browse files
mhinzda-x
authored andcommitted
RustTest: update doc
1 parent a97eb7f commit c04ae84

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/rust.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,15 @@ functionality from other plugins.
426426
Running test(s)
427427
---------------
428428

429-
:RustTest[!] [options] *:RustTest*
429+
:[N]RustTest[!] [options] *:RustTest*
430430
Runs a test under the cursor when the current buffer is in a
431431
cargo project with "cargo test" command. If the command did
432432
not find any test function under the cursor, it stops with an
433433
error message.
434434

435+
When N is given, adjust the size of the new window to N lines
436+
or columns.
437+
435438
When ! is given, runs all tests regardless of current cursor
436439
position.
437440

@@ -444,7 +447,11 @@ Running test(s)
444447
is no way to run specific test function with rustc. [options]
445448
is passed to "rustc" command arguments in the case.
446449

447-
450+
Takes optional modifiers (see |<mods>|): >
451+
:tab RustTest
452+
:belowright 16RustTest
453+
:leftabove vert 80RustTest
454+
<
448455
rust.vim Debugging
449456
------------------
450457

0 commit comments

Comments
 (0)