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
added implementation for elm #2507
base: master
Are you sure you want to change the base?
Conversation
4a96924
to
8af0e1c
Compare
Thanks, do you have (raw) example output where it was failing before with? |
Hi, sorry that I took time to reply to you and thanks for the interest. Well, first, now elm-make is part of elm/core, and thus we could add functionality for the new syntax "elm make" which is the standard way to use the maker now, but even replacing that part, it seems that elm make changed a lot since the last update in neovim (my elm version is 0.19.1), because I get just no errors with the implementation which is present now. For example, if I alias elm make with elm-make or even create an elm-make which calls elm make, I get absolutely no errors when I should get them. For example, a code as simple as
which should produce an error in elm produces no error with the current implementation in neomake with my implementation, there are errors printed (which there should be) However, the weakness of my implementation is that the new elm make version does not deal with files which have unusual names, so when neomakes creates a file because you didn't save yet, there is an error from elm make
if I print it a little prettier it means that
basically, the problem here is that .Test.elm@neomake_103840_3.elm is not a valid filename, however, at least, with the version I implemented, neomake works when we save the elm file in vim. With the old version, that does not work as I shown. I don't know how you handle backwards compatibility, so as I did not want to break it, I non invasively added a maker instead of replacing the one which is already there. I hope that I have been helpful. If what I say is unclear, I would be glad to add the details you ask me, but you can just try with the example of code I gave you, get the new elm, you can get it there elm install page and try the old neomake version and my version, you should be able to reproduce all the things said there |
Hi guys, the current implementation did not work for me but that version that I corrected works like a charm. Does it fit with your way of doing things?