Skip to content

Allow Dispatch to run as ex command in GUI vim #69

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

Closed
wants to merge 1 commit into from

Conversation

gylaz
Copy link
Contributor

@gylaz gylaz commented Oct 14, 2014

No description provided.

@@ -5,7 +5,7 @@ if !exists("g:rspec_runner")
endif

if exists("g:rspec_command")
if has("gui_running") && has("gui_macvim")
if has("gui_running") && has("gui_macvim") && g:rspec_command !~ "^Dispatch"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems strange to me that we need to special case this. I wonder if we should rethink how we're handling this config in general.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for not handling this as a special case.

tpope/vim-rails has Rake command which can be used as g:rspec_command as "Rake spec {spec}". It would fail with this solution.

@gylaz
Copy link
Contributor Author

gylaz commented Dec 8, 2014

I'm going to close this, and work on a more general solution.

@gylaz gylaz closed this Dec 8, 2014
@gylaz gylaz deleted the gl-use-dispatch-in-gui branch December 9, 2014 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants