-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 flymake-checkers #331
Add flymake-checkers #331
Conversation
flymake-checkers provides additional syntax checkers for flymake. See https://github.com/lunaryorn/flymake-checkers for details
How does this differ from |
I do not think that maintaining separate packages for each flymake checker is a good idea. Consider how many syntax checkers syntastic provides. A separate package for each of these will be a maintenance and installation nightmare. Already you have duplicated functionality between all your flymake packages, i.e. the temp-dir function, or the advice hack you're using to suppress fatal error messages. Instead of going down that road, I'd rather merge all your flymake checkers into this package and then start stealing from syntastic to add more checkers. |
The choices made by a vim plugin don't automatically make a compelling argument, but I understand your point. :-) I'm not committed to keeping separate I agree that the
|
In any case, I've merged this recipe. Feel free to post any further thoughts here, though. |
In terms of the duplication between In other words, the presence of duplicated code doesn't itself imply that everything should go into a single library. |
I aim to provide syntax checking that works out of the box with minimal or no upfront configuration. Reyling on I do agree, though, that flymake is not well-designed, surely, but various workarounds, checker implementations and hacks seen in the wild are neither. I fail to see the purpose of the advice hack, or what advantages it should have over |
+1. I think it makes sense to leverage as much as possible of It looks like the Here are some other checkers you might like to incorporate: https://github.com/purcell/flymake-haml :-) |
@purcell I do intend to reuse as much of flymake as possible, but some parts just suck. I will replace the configuration mechanism, and the way checkers are written, because I find flymake's way of doing things clumsy, especially if the checker needs a custom error pattern. Once that is done, I'll merge all of your flymake checkers into the package. I'll get in touch again, if that is done. |
Awesome -- I'm looking forward to it! |
Fix flymake-checkers recipe [#331] LAWLZ
@purcell In lunaryorn/flymake-checkers#2 I've come up with a new, more declarative checker API and an alternative way of registering checkers, based on the current major mode. I'm quite happy with the result, but I'd like to hear your opinion. |
flymake-checkers provides additional syntax checkers for flymake.
Currently there are checkers for Emacs Lisp, Python, Ruby, CoffeeScript and LaTeX.