You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In issue #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 and checktime 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:
letg:neomake_python_coala_serialize=1
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:
@odedlaz do you know alternatives? Sorry for not picking this up for so long. @RohanVB wanna chip in about ☝️ March 13, 2017 3:19 PM ? Pros? Cons? We should definitely decide something and give our users something.
In issue #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.
The text was updated successfully, but these errors were encountered: