LCD 47
1d2f8d514a
Formatting: folding.
2015-01-04 12:46:54 +02:00
LCD 47
77c125170a
Bashate: cleanup.
2014-10-17 19:41:53 +03:00
aswna
47df0a0350
Add license.
2014-10-13 09:27:44 +02:00
aswna
f4c7c50830
Add support for bashate.
2014-10-10 16:25:10 +02:00
LCD 47
ce89396808
Checker-specific logging.
...
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
Daniel Hahler
3060c6b2ea
Do not expand()
shell vars
...
This is especially important when testing/using variables that do not
exist, because then a new shell is spawned by Vim.
But since they should be available already in Vim from the (shell) env
there is no point in doing so.
See also: http://www.reddit.com/r/vim/comments/2el2zo
2014-08-26 17:40:28 +02:00
LCD 47
ab79acbccd
Cleanup. Deprecate a number of checker variables.
...
New / refactored deprecation logging functions:
syntastic#log#oneTimeWarn() and syntastic#log#deprecationWarn().
2014-06-24 19:02:42 +03:00
LCD 47
e058be3d01
Registry optimisation: lazy IsAvailable() calls.
2014-06-04 19:34:12 +03:00
LCD 47
c658ff15a5
Registry refactor.
...
Simplify registry data structure.
Simplify registru functions.
Optimisations.
2014-02-17 23:32:53 +02:00
LCD 47
8aa2a6f4c1
Cleanup.
2014-01-29 01:12:42 +02:00
LCD 47
44d7ffd7e0
makeprgBuild() refactor: add *_before and *_after options.
2014-01-28 21:44:44 +02:00
LCD 47
f1aae5c5cc
Minor bug fix: string length calculations.
2014-01-09 20:06:55 +02:00
LCD 47
b9accaa810
Minor cleanup: &cpo guards and formatting.
2014-01-03 11:29:08 +02:00
LCD 47
1ee2930e24
SyntasticCheck accepts multiple arguments. Cache available checkers.
2013-11-30 00:56:10 +02:00
LCD 47
31a882e52e
Minor cleanup: qualify case sensitivity.
2013-11-29 10:35:21 +02:00
LCD 47
fa2e6b96d9
Minor cleanup: replace match() by stridx() when appropriate.
2013-11-26 23:19:01 +02:00
LCD 47
6097416a4a
Shellcheck now outputs byte counts.
2013-11-15 09:13:33 +02:00
LCD 47
d09bd1ea7e
Update: shellcheck now has a gcc-style output mode.
2013-11-14 10:25:37 +02:00
LCD 47
bdc4b0f177
Update: shallcheck no longer has a jsoncheck.
2013-11-13 09:05:06 +02:00
LCD 47
fd5a52e0bd
Cleanup.
2013-11-04 23:00:51 +02:00
LCD 47
424ad20bb4
Update for shellcheck.
2013-11-02 10:44:06 +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
2106176b8a
New checker for sh: shellcheck.
...
See the project's page for details: https://github.com/koalaman/shellcheck .
2013-10-29 20:24:07 +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
kongo2002
1ff67622c5
use $SHELL for scripts without shebang
...
thanks to @zhaocai
Closes #613
2013-04-13 12:29:57 +02: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
Martin Grenfell
16424e5761
add guards to all checkers
...
goddamn I love macros
2013-02-21 15:50:41 +00:00
Martin Grenfell
f67d4881ca
remove some old (now unused) code from the main plugin
2013-02-01 09:57:25 +00: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