Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Neovim details in README #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ Or, [Dispatch](https://github.com/tpope/vim-dispatch) and
let g:rspec_command = "compiler rspec | set makeprg=zeus | Make rspec {spec}"
```

#### Neovim

Neovim has [a new behavior for handling bang commands](https://github.com/neovim/neovim/issues/1496#issuecomment-63691483).
Because of this, using `vim-rspec` with Neovim will output the results of the specs, but the output will be missing color.

In order to fix this, you can use the [Custom Command](https://github.com/thoughtbot/vim-rspec#custom-command) option to run the specs with the new terminal commands that Neovim provides.

```vim
let g:rspec_command = "term rspec #{spec}"
```

### Custom runners

Overwrite the `g:rspec_runner` variable to set a custom launch script. At the
Expand Down