Thursday, May 23, 2013

Re: How to deal with multiple compiler error formats, possibly from a single make invocation?

On Thursday, May 23, 2013 4:46:05 PM UTC-5, Sam Roberts wrote:
> Hi, using node, mocha, and jshint, when I run my unit tests with make,
>
> I can get output from any of the above. All with different error
>
> formats. Note that I can run lint seperate from mocha, but mocha is a
>
> test runner, it WILL have node error stacks in its output, and I want
>
> to be able to :cn through them.
>
>
>
> I can see how I might combine all their error formats by hand into one
>
> massive "javascript" error format, by cutting and pasting, but I don't
>
> see how I could do this in anything like a nice way.
>
>
>
> I'd like something like:
>
>
>
> after/javascript.vim:
>
> compiler jshint
>
> compiler +node
>
> compiler +mocha
>

Maybe instead you could use :caddfile, :caddbuffer, or :caddexpr to build a list using one format at a time?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: