Rust: Fix cargo-process-current-test keybinding, update documentation

This commit is contained in:
seemyvest 2017-12-08 15:04:05 +11:00 committed by syl20bnr
parent 59f78d8700
commit 6da75c4055
2 changed files with 3 additions and 2 deletions

View file

@ -56,12 +56,13 @@ To enable automatic buffer formatting on save, set the variable =rust-format-on-
| ~SPC m c c~ | compile project with Cargo |
| ~SPC m c d~ | generate documentation with Cargo |
| ~SPC m c e~ | run benchmarks with Cargo |
| ~SPC m c f~ | run the current test with Cargo |
| ~SPC m c f~ | format all project files with rustfmt |
| ~SPC m c i~ | create a new project with Cargo (init) |
| ~SPC m c l~ | run linter ([[https://github.com/arcnmx/cargo-clippy][cargo-clippy]]) with Cargo |
| ~SPC m c n~ | create a new project with Cargo (new) |
| ~SPC m c o~ | run all tests in current file with Cargo |
| ~SPC m c s~ | search for packages on crates.io with Cargo |
| ~SPC m c t~ | run the current test with Cargo |
| ~SPC m c u~ | update dependencies with Cargo |
| ~SPC m c x~ | execute a project with Cargo |
| ~SPC m g g~ | jump to definition |

View file

@ -37,13 +37,13 @@
"cd" 'cargo-process-doc
"cD" 'cargo-process-doc-open
"ce" 'cargo-process-bench
"cf" 'cargo-process-current-test
"cf" 'cargo-process-fmt
"ci" 'cargo-process-init
"cl" 'cargo-process-clippy
"cn" 'cargo-process-new
"co" 'cargo-process-current-file-tests
"cs" 'cargo-process-search
"ct" 'cargo-process-current-test
"cu" 'cargo-process-update
"cx" 'cargo-process-run
"t" 'cargo-process-test))))