mirror of
https://github.com/fanzeyi/cargo-play
synced 2024-11-12 22:17:06 +00:00
Use command!
with !
in README.md for vim command (#17)
This commit is contained in:
parent
03fc4e50dd
commit
39e73a6d96
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ Files under sub-directories will be copied and placed relatively to the first fi
|
|||
Add this line to your `.vimrc` or `init.vim`:
|
||||
|
||||
```vim
|
||||
command CargoPlay !cargo play %
|
||||
command! CargoPlay !cargo play %
|
||||
```
|
||||
|
||||
With your code file open, running `:CargoPlay` will allow you to test your current file within an auto-generated cargo project.
|
||||
|
|
Loading…
Reference in a new issue