Commit Graph

11 Commits

Author SHA1 Message Date
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
darkiri
1123e2b0f7 oclint does not have -text option any more 2013-11-20 22:18:04 +01:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +03:00
LCD 47
dfb8b4a0ad Typo in OClint checker. 2013-05-30 19:45:33 +03:00
LCD 47
3c5323c103 More errorformar adjustments for OClint. 2013-05-30 18:40:37 +03:00
LCD 47
5393d3b040 Better handling of errorformat for OClint. 2013-05-30 13:01:37 +03:00
LCD 47
a0aff0f436 OClint can check Objective-C files. Cleanup. 2013-05-29 14:25:33 +03:00
unc0
85cd84e5b0 add oclint syntax checker for c/c++ 2013-05-29 16:10:46 +08:00