From 19699d6cc92f12456af8d6154b77534ecfb2d157 Mon Sep 17 00:00:00 2001 From: Nathaniel Watts Date: Sun, 14 Feb 2016 00:07:12 -0600 Subject: [PATCH] Add Neovim details in README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 9b81e64..d5d2521 100644 --- a/README.md +++ b/README.md @@ -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