Commit Graph

9 Commits

Author SHA1 Message Date
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +03:00
amouravski
964e17f4b3 Updated the dart syntax checker.
It now uses the correct path for the dart_analyzer, it uses the
machine readable format to provide more information.

The highlighter now highlights the exact span that the analyzer complains
about. Further, warnings are different from errors now.
2013-03-11 19:25:01 -07:00
Martin Grenfell
342a13eec2 Merge pull request #514 from dominic-goog/master
fix 'missing endfunction' error for dart
2013-02-21 08:30:10 -08:00
Martin Grenfell
16424e5761 add guards to all checkers
goddamn I love macros
2013-02-21 15:50:41 +00:00
Dominic Hamon
a875cd2101 Update syntax_checkers/dart/dart_analyzer.vim 2013-02-19 13:14:21 -08:00
Martin Grenfell
e0b8e87c93 refactor all the syntax checkers to use the new API and dir layout 2013-01-27 20:08:30 +00:00
Martin Grenfell
5b31495af2 update makeprg builder and update some checkers to use it
update makeprg builder:
* it now accepts `fname`, `tail`, and `post_args` params.
* add some doc above syntastic#makeprg#build
* update a bunch of checkers to use the new params

Still have quite a few checkers that arent using makeprg#build.
Including all c* and a few other c-like checkers. And PHP.

Not to worried about c* as these checkers are complicated and probably
justify having their own logic to build makeprgs.
2013-01-20 12:27:19 +00:00
Martin Grenfell
6a184f0e37 update checkers to use the new syntastic#makeprg#build()
Make all the easy updates. There are still quite a few to do, but in
doing these ones I can see that syntastic#makeprg#build() needs to
accept a few more options. Namely:

* "postargs" that appear after the filename
* "tail" that appears after everything - used for things like
  redirecting output and piping to grep/sed/etc
* the filename itself - only the java checkers needed this since they
  specify the directory of the file to check as well

There are still a few other things to do as well:

* remove the options from the checkers that are now provided by
  syntastic#makeprg#build implicitly - i.e. the checker exe and args.
* also, we need to doc the above implicit checker options
2013-01-20 11:13:01 +00:00
Maksim Ryzhikov
62d1da3b8d add support dart 2012-12-21 22:44:58 +04:00