-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
quickfix errorformat doesn't work for dispatch #41
Comments
|
Thanks, that seems clearer now I'm looking through the source (although my vim script isn't at all good). What compiler should I be using for rspec then? It isn't clear from the documentation or the source which compiler |
With the latest vim-ruby, |
And what compiler would My understanding is that Thanks again. -- Edit It seems that if I |
Really I'd just use binstubs, but if you insist on an explicit |
Following the documentation to add: let g:dispatch_compilers = {
\ 'latex': 'tex',
\ 'bundle exec': ''} The errorformat is applied. |
:Dispatch populates quickfix but doesn't seem to apply the errorformat in the same way as simply using :cgetfile
Fake steps to reproduce
Given the following file at
/tmp/fake_errors
In Vim:
Doesn't work.
Does.
My actual problem
What I'm trying to do here is apply a custom formatter to rspec and display the errors nicely in quickfix style.
A gif demonstrating my issue
I ran the same test with only NeoBundle and vim-dispatch enabled and without any extra vimrc stuff beyond the default and I get the same results.
The rspec formatter I'm using can be found: https://github.com/lengarvey/vimrc/blob/master/config/ruby/vim_rspec2_formatter.rb it's not working yet since I can't figure out how to get this errorformat stuff applying correctly.
Steps to reproduce:
Observe that the quickfix window doesn't appear to have the errors linked as expected.
Expected results
Am I doing something obviously wrong?
The text was updated successfully, but these errors were encountered: