Skip to content

Commit

Permalink
Update documentation of using Dispatch and Zeus
Browse files Browse the repository at this point in the history
* as sugggested in thoughtbot#24
* thanks @gbp
  • Loading branch information
Greg Lazarev committed Jan 14, 2014
1 parent 083729d commit 53f05de
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,17 @@ let g:rspec_command = "!rspec --drb {spec}"
```

This `g:rspec_command` variable can be used to support any number of test
runners or pre-loaders. For example, you can use
[Dispatch](https://github.com/tpope/vim-dispatch) and
[Zeus](https://github.com/burke/zeus) together with the following:
runners or pre-loaders. For example, to use
[Dispatch](https://github.com/tpope/vim-dispatch):

```vim
let g:rspec_command = "Dispatch zeus rspec {spec}"
let g:rspec_command = "Dispatch rspec {spec}"
```
Or, [Dispatch](https://github.com/tpope/vim-dispatch) and
[Zeus](https://github.com/burke/zeus) together:

```vim
let g:rspec_command = "compiler rspec | set makeprg=zeus | Make rspec {spec}"
```

Credits
Expand Down

0 comments on commit 53f05de

Please sign in to comment.