Commit Graph

16 Commits

Author SHA1 Message Date
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02: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
d238665385 Fix unwanted filter() and map() side effects. Minor cleanup. 2013-10-23 12:59:23 +03:00
Oren Held
3859d89ad7 sh: do not enforce POSIX validation on bash/zsh scripts
The POSIX check warns about perfectly legal bash/zsh statements such as the 'local' keyword.
It's archaic and irrelevant nowadays.
2013-06-07 11:15:15 +03:00
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +03:00
LCD 47
32423160aa Fix (again) errorformat for checkbashisms. 2013-04-30 00:16:15 +03:00
LCD 47
3cb4de3095 Skip unknown error messages. 2013-04-10 23:02:03 +03:00
LCD 47
7438ab376b Error format fix for checkbashisms. 2013-04-10 18:55:30 +03:00
LCD 47
0ce25edcc6 Set subchecker. 2013-03-26 22:42:43 +02:00
Martin Grenfell
a3299364ca sh/checkbashisms: remove unneeded l: variable prefixes 2013-03-26 19:52:40 +00:00
aswna
259f7717fb Use and adapt to more recent checkbashisms.pl. Some refactoring. 2013-03-26 00:40:50 +01:00
aswna
01b3e89352 Added new sh checker: checkbashisms. 2013-03-23 01:30:26 +01:00