-
Notifications
You must be signed in to change notification settings - Fork 108
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
vim-rspec sending g:rspec_command command to shell rather than vim #61
Comments
One more item: if I rewind to the previous commit (94a256b), the problem is resolved. |
Same problem for me using vim-slime |
I've reverted 4c637bd as I realized that it wasn't thought through well enough. |
@gylaz, thanks very much for the quick fix. |
👍 |
This is still happening for me when using vim-rspec and vim-dispatch together. In my .vimrc I have:
The whole command ( When using only vim-dispatch ( |
Same issue as @neektza. Whole Dispatch command is send to the console on MacVim GUI, however on terminal Vim it works fine. |
Same issue here. |
I was able to reproduce this error with the commands mentioned by @neektza running in MacVim. The command being created is:
We should be letting dispatch handle all of this. Then the command would just be: Dispatch rspec {spec} |
I've been thinking about this, and I think a reasonable solution is not to default a |
Was there ever a resolution of this issue? I can confirm that it is still happening for me on Macvim and iTerm2. |
I updated
vim-rspec
this weekend (since commit 4c637bd) and have noticed what seems to be a regression. I am using Dispatch, but the problem can be replicated without Dispatch.I noticed the issue when I would attempt to run specs, and would get this output
Dispatch rspec {spec}
(my complete value forg:rspec_command
was getting returned as an invalid zsh command. If I change myg:rspec_command
to justrspec {spec}
(with no exclamation point before the rspec command), then vim-rspec executes the specs.It looks like vim-rspec is just passing whatever
g:rspec_command
is on to the shell rather than to vim. If I attempt to use the default and not specify a custom command, vim-rspec works as expected. I'm not sure if after this new change to allow simultaneous definitions ofg:rspec_command
andg:rspec_runner
in 4c637bd that there's a new configuration that wasn't reflected in the docs or not.The text was updated successfully, but these errors were encountered: