Open odedlaz opened 7 years ago
@odedlaz do you know alternatives? Sorry for not picking this up for so long. @RohanVB wanna chip in about :point_up: March 13, 2017 3:19 PM ? Pros? Cons? We should definitely decide something and give our users something.
The other option is syntastic which was mentioned. Continuing the rest of the discussion on syntastic in #28
In issue https://github.com/coala/coala-vim/issues/21, @adtac said your'e thinking about deprecating coala-vim in favor of neomake.
I opened this issue to discuss this.
The following illustrates a working example of coala+neomake, and my thoughts. TL;DR: I think we shouldn't deprecate this plugin because moving to neomake feels like a hack.
First, here's a the base coala configuration with neomake:
The problem with the above configuration is that vim doesn't update the buffer when coala makes changes.
autoread
andchecktime
don't work in this scenario because the file was changed inside vim.To force the buffer to reload, I added a 'JobFinished' hook:
Now coala updates correctly, but there's a problem. neomake runs all makers in parallel, so if we add another maker that should run after coala, we're in trouble.
To solve that, we need to run each maker sequentially:
but that creates another problem, because neomake stops maker processing if one of the makers returned a non-zero exit code. coala uses many non-zero status code. this forces us to add:
All in all, I think neomake is not the right tool to run coala.