-
Notifications
You must be signed in to change notification settings - Fork 106
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
Require g:rspec_runner explicitly #94
base: master
Are you sure you want to change the base?
Conversation
2380a5f
to
c6aa1b9
Compare
c6aa1b9
to
b744060
Compare
If `g:rspec_runner` is not provided the `g:rspec_command` will be piped to GUI vim as-is. This allows users to use `vim-dispatch` with GUI vim.
b744060
to
fdc56c1
Compare
ping @christoomey @jferris |
The only problem I see here is that out-of-the box, this doesn't work for MacVim because the default spec command won't work without |
|
||
You can set `g:rspec_runner` to anything you want, | ||
provided you include the appropriate script | ||
inside the plugin's `bin/` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible for this to point to something more in the users control? Perhaps a script in ~/bin
? They might need to hard code the path, and I believe the script execution in the plugin would need to be updated, but I think that could be a better approach. Otherwise they would need to either gitignore their script, or rebase a branch, or otherwise manage it as an addition to the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting idea. It think this would be a good approach, with allowing people to override the default bin/
path. However, there's no evidence that people are even using this feature. Thus, it would be low priority to focus on something, that's not a reported problem.
Overall I think the explicitness requirement is fine, and the readme updates seems good to cover the change. I did have one concern about recommending they add their custom script to the plugin |
Thanks, @christoomey. |
If
g:rspec_runner
is not providedthe
g:rspec_command
will be piped to GUI vim as-is.This allows users to use
vim-dispatch
with GUI vim.