Commit Graph

10 Commits

Author SHA1 Message Date
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
Martin Grenfell
d4e74d81d8 typescript: dont need to escape the space inside a string 2012-12-03 09:57:06 +00:00
Martin Grenfell
1b237eba14 Merge pull request #416 from jb55/typescript
Fix TypeScript errorformat for latest version of the compiler
2012-12-03 01:56:27 -08:00
Bill Casarin
562a37adce Support zero or more spaces at the end of a filename in the typescript errorformat 2012-12-01 21:07:51 -05:00
Bill Casarin
7ceba36412 Fix typescript errorformat for latest version of the compiler 2012-11-30 10:13:12 -05:00
David Barnett
dcac33ecc0 Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file. 2012-11-26 21:44:43 -08:00
Martin Grenfell
0765f97dd3 refactor out some duplication of /dev/null logic 2012-10-23 22:37:11 +01:00
Miguel Ventura
a005ebfdf8 Adding support for less/rst/typescript syntax checkers on Windows. 2012-10-22 23:41:30 +01:00
Bill Casarin
6fbef6493c Added initial typescript support 2012-10-03 10:37:41 -04:00