-
Notifications
You must be signed in to change notification settings - Fork 365
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
Add Haskell Makers #38
Comments
Wrt the extra lines, see #27. About the parts of the message that are missing, I'm guessing the errorformat is somehow wrong. When I have ported makers from syntastic and it doesn't work right, usually there is some subtle difference between the errorformats. Unfortunately I'm no expert on vim's errorformat system, so I can't see the issue right off the bat. I can't look at it right away, but if you don't have any luck with it I'd be happy to try my hand at it sometime soon. |
I actually think this has to do with #15. When I ran each linter in isolation, it worked perfectly. Do you get the same results every time? It's possible that some multiline messages are getting split up between two different job activity handler calls. Try putting |
Hmm, when I enable When I change haskell_enabled_makers to only |
Ok, I would make sure your version of neovim is relatively recent. I've been building weekly from master and testing agains that. Sometime this weekend I'll see if I can't get this going for myself and track down the different issues here. |
Still happening off of nightly. It seems specific to the Let me know if you need help getting set up. Usually you can just install |
It looks like I was able to figure this out. When running this linters in normal vim, I saw it was outputting I was able to fix it with a small output formatting step. I included both these makers in the repo as well. |
Beautiful, thanks :) |
Thanks a lot for doing this, Syntastic's synchronous checking is what made me switch to neovim...
I'm trying to get haskell checking working with
ghc-mod
andhlint
. Adapting the Synastic checkers mostly works, but some error messages are missing or end up looking funky.Here's a sample file:
The makers:
The checker's output:
and finally the location list after running Neomake:
You can see extra lines , and the "2 suggestions" from HLint's output, while everything after ghc-mod's first suggestion is dropped.
A solution or pointers on how to proceed would be great.
The text was updated successfully, but these errors were encountered: