Commit Graph

1507 Commits

Author SHA1 Message Date
Radosław Szymczyszyn
105965c821 Simplify main/1 heads 2014-03-05 19:18:41 +01:00
LCD 47
c18065ea52 Security: disable the perl checker by default. 2014-03-03 09:43:14 +02:00
LCD 47
e677e0655e pyflakes: update errorformat. 2014-02-27 18:10:47 +02:00
LCD 47
fb71514648 Move preprocess functions to their own file. 2014-02-26 10:31:38 +02:00
LCD 47
f490cf6ec9 Merge branch 'registry_refactor' 2014-02-26 10:08:36 +02:00
LCD 47
0bb8c7e5f6 jscs: add exit code 2 as valid (new in JSCS 1.3.0). 2014-02-26 09:58:33 +02:00
LCD 47
4196dd30df jshint: check return code. 2014-02-26 02:20:06 +02:00
LCD 47
b0191a144c Refactor of quiet_message filters.
Optimisation: merge handling of global and per-checker filters.
Feature: allow [] and '' values for quiet_messages filter elements.
Feature: allow overrides for quiet_messages filters.
Feature: buffer-local auto_jump and quiet_messages.
Safety: add magic specifiers to catch regexps.
Cleanup: minor restructuring for the forthcoming foreign checkers
feature.
2014-02-24 01:10:33 +02:00
LCD 47
ab136c5ae9 Merge branch 'master' into registry_refactor 2014-02-23 09:01:30 +02:00
LCD 47
d12bc4f1d1 jsxhint: cleanup. 2014-02-22 22:39:13 +02:00
Thomas Boyt
de9a021270 Add jsxhint checker 2014-02-21 16:25:19 -05:00
LCD 47
99126e38ff yamlxs: fix exec parameter. 2014-02-19 14:57:41 +02:00
LCD 47
bb8e259e31 phpcs: move --tab-width to args. 2014-02-18 08:53:24 +02:00
LCD 47
c658ff15a5 Registry refactor.
Simplify registry data structure.
Simplify registru functions.
Optimisations.
2014-02-17 23:32:53 +02:00
LCD 47
ffe3085a80 Pylint versioning strikes again. 2014-02-17 11:49:02 +02:00
LCD 047
bc9620eed9 Merge pull request #997 from kisielk/go_c_warnings
Add pattern to match warnings from C compilers when checking Go code.
2014-02-14 22:42:51 +02:00
Kamil Kisiel
d7b29121a2 Add pattern to match warnings from C compilers when checking Go code. 2014-02-14 12:32:57 -08:00
LCD 47
d1978e26d5 Add a header to syntaxerl.vim. 2014-02-14 22:14:46 +02:00
LCD 47
6f437a6bf3 Merge remote-tracking branch 'syntaxerl/master' 2014-02-14 22:12:02 +02:00
LCD 47
5303cabf8a phpmd: make options mutable. Cleanup. 2014-02-14 21:47:30 +02:00
locojay
1389bf45ce adding syntaxerl for erlang files 2014-02-14 14:24:44 -05:00
LCD 47
d31868a5ba cppcheck: update for the new error format. Remove duplicate code. 2014-02-14 08:50:51 +02:00
LCD 47
c10aa8d6d5 More shell escape fixes. 2014-02-13 17:38:47 +02:00
LCD 47
9a571d7ae5 scss-lint: add version check. 2014-02-13 16:43:19 +02:00
LCD 47
73e4ce94c4 scss-lint: check exit code. 2014-02-13 07:32:34 +02:00
LCD 47
7795dff24b Add support for buffer versions of makeprgBuild variables.
New utility function syntastic#util#var().  Cleanup.
2014-02-12 21:25:51 +02:00
LCD 47
a487afd810 Second attempt to shut up "go test". 2014-02-09 19:21:34 +02:00
LCD 47
2716eb7711 Revert "Attempt to shut up "go test"."
This reverts commit c6636f6db1.
2014-02-09 19:06:00 +02:00
LCD 47
c6636f6db1 Attempt to shut up "go test". 2014-02-09 18:22:27 +02:00
LCD 47
5192738b9d Vimlint: add a safety net for a bug in Vim. 2014-02-08 20:12:44 +02:00
LCD 47
ef9055fea9 Vimlint: better highlighting for l:var. 2014-02-08 10:35:11 +02:00
LCD 47
ca717b2c8d Cleanup: allow more exec overrides; formatting. 2014-02-08 09:45:51 +02:00
LCD 47
4def389ae4 Cleanup: asm/gcc checker. 2014-02-08 09:32:44 +02:00
Joshua Rahm
0eed307fdb added syntax checking for .asm and .s files using gcc 2014-02-07 20:51:59 -07:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
799ea79bcb Cleanup: avrgcc checker. 2014-02-06 19:18:38 +02:00
ufopron
42605af07a avr-gcc: added syntax checker 2014-02-06 18:03:45 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +02:00
LCD 47
4c2004d2e5 Bug fix: the result of expand('<sfile>:p:h') has to be escaped. 2014-02-06 11:58:30 +02:00
LCD 47
d5878818b8 cpplint: add exit code check. 2014-02-05 10:07:49 +02:00
LCD 47
4c86d054a2 OCLint: minor cleanup. 2014-02-05 10:01:07 +02:00
LCD 47
ac09497345 Add shellcheck as zsh checker. 2014-02-05 09:31:50 +02:00
LCD 47
1bc5fee054 pylint: fix detection of column numbers. 2014-02-04 11:53:26 +02:00
LCD 47
b399a5e4a6 phpcs: fix detection of column numbers. 2014-02-03 19:36:15 +02:00
LCD 47
dfc94ad8f8 New checker for texinfo: makeinfo. 2014-02-02 17:16:25 +02:00
LCD 47
1220888334 Haxe: fix escaping; add highlighting. 2014-02-02 11:11:06 +02:00
LCD 47
b0126aa5a9 New checker for racket: code-ayatollah.
See: http://tmp.barzilay.org/code-ayatollah.rkt
2014-02-01 11:06:40 +02:00
LCD 47
4948e5c254 Remove the gnumake checker.
There are situations when `make -s` can get stuck in a loop, even if
`make` itself would finish just fine.  When this happens, Vim gets stuck
too, and has to be killed.
2014-02-01 08:25:26 +02:00
LCD 47
46a2181849 Cleanup for gnumake. 2014-01-29 10:22:57 +02:00
LCD 47
c29fae7fc8 Rename make.vim --> gnumake.vim. 2014-01-29 09:23:10 +02:00
LCD 47
d320ad841d Merge remote-tracking branch 'make/make' into makeprg 2014-01-29 09:21:12 +02:00
Steven Myint
2c984966b9 Add syntax checker for makefiles 2014-01-28 19:51:51 -08: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
e6f4daa1f6 Vimlint: update list of warnings. 2014-01-28 14:28:01 +02:00
hkbarton
2ab8486f07 bug fix for issue962 javac classpath resolve bug - add windows support 2014-01-27 12:52:24 -08:00
hkbarton
95d76b21c8 bug fix for issue962 javac classpath resolve bug 2014-01-27 12:19:28 -08:00
LCD 47
2e5df9569f New Python checker; frosted. 2014-01-27 14:16:27 +02:00
LCD 47
b7624ed8cf Workaround for lessc creating NUL files on Windows. 2014-01-26 22:38:35 +02:00
LCD 47
f3240e6001 Cleanup: shut up lint warnings, formatting, doc nit. 2014-01-26 09:10:26 +02:00
LCD 47
955da9802e Minor cleanup. 2014-01-24 18:22:22 +02:00
Sergey Tatarintsev
0973ba27b8 Add bemhtml syntax checker 2014-01-24 17:19:39 +02:00
LCD 47
87e237a9d1 New checker: vimlint. 2014-01-24 11:58:57 +02:00
Buck Golemon
4636be0818 fix pylint messages when pythonrc specifies format=colorized 2014-01-23 16:13:43 -08:00
LCD 47
12b3c071a5 Pylint: use symbolic names in messages. Add column information. 2014-01-23 22:20:00 +02:00
LCD 47
a39b397e6a Better default args for rustc. 2014-01-21 19:22:28 +02:00
LCD 47
1c911633fd Fix errorformat for rustc. 2014-01-21 06:46:48 +02:00
LCD 47
6c9735335f Remove support for YCM.
YCM has now its own navigation functions, so there is no longer any need
to call it from syntastic.

g:syntastic_delayed_redraws is also gone.  Syntastic doesn't use popup
menus, and the only purpose of this variable was to provide a workaround
for a problem triggered by YCM.

References:
https://github.com/Valloric/YouCompleteMe/pull/763
2014-01-20 10:29:06 +02:00
LCD 47
47f054112b Fix shebang parsing for escript. 2014-01-14 20:33:49 +02:00
LCD 47
710cf914cf Sorting and return code for javascript/jscs. 2014-01-14 07:28:28 +02:00
LCD 47
8151960ec5 More safety nets for java/checkstyle preprocessing. 2014-01-14 07:21:11 +02:00
LCD 47
f23ddae1a7 New checker for JavaScript: jscs. 2014-01-13 12:58:44 +02:00
LCD 47
600656abdf Slightly safer preprocessing for java/checkstyle. 2014-01-13 12:50:08 +02:00
LCD 47
f1aae5c5cc Minor bug fix: string length calculations. 2014-01-09 20:06:55 +02:00
Andy Earnshaw
8ff60c0468 Handle mxmlc errors with no line/column numbers 2014-01-08 12:19:47 +00:00
LCD 47
dfe1e025ee Python: code being checked shouldn't inherit future statements. 2014-01-06 17:04:55 +02:00
LCD 47
ab9d59c409 Language_check is a style checker. 2014-01-06 13:11:03 +02:00
LCD 47
4abf0ec15e Check exit code in rstcheck. 2014-01-06 13:09:12 +02:00
LCD 47
76e096c151 Check return in language_check. 2014-01-06 10:41:47 +02:00
Steven Myint
2f1ef31c03 Add language-check
This checks grammar in text files.

https://github.com/myint/language-check
2014-01-05 11:32:52 -08:00
LCD 047
40aa5e26bc Merge pull request #930 from troydm/master
javac checker config editing/loading custom classpath command added
2014-01-04 22:48:21 -08:00
LCD 47
6c91e8d802 Rework of the python checker, fixing column reporting. 2014-01-05 08:39:14 +02:00
LCD 47
00e75e1151 Minor cleanup. 2014-01-05 08:31:29 +02:00
troydm
0619f65ed5 javac checker custom classpath command added 2014-01-04 23:09:18 +04:00
troydm
4a7ca826b0 javac checker config file loading/editing added 2014-01-04 22:31:55 +04:00
LCD 47
2754bcb65b Fix column reporting in pyflakes. 2014-01-04 19:26:56 +02:00
LCD 47
4740a7ed1f Safer cursor saving / restoring for cgc. 2014-01-04 13:14:14 +02:00
LCD 47
ab94210085 Rework of message decoding for flake8. 2014-01-04 10:01:16 +02:00
LCD 47
2d9ff2457f Minor cleanup: remove dead code; formatting. 2014-01-03 18:58:30 +02:00
LCD 47
38275ced14 JSHint can be used to check JavaScript in HTML and xHTML files. 2014-01-03 17:06:27 +02:00
LCD 47
bf17e1e77c Fix for a typing-faster-than-thinking bug in cgc. 2014-01-03 14:18:37 +02:00
LCD 47
063ee82aaf Fix for pilot error. ;) 2014-01-03 14:04:55 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
cfe872b32b Minor cleanup for haml_lint. 2014-01-03 11:02:46 +02:00
LCD 047
2ba7c4339c Merge pull request #922 from sds/add-haml-lint-checker
Add haml-lint syntax/style checker
2014-01-03 01:01:36 -08:00
LCD 47
72745819fc Minor cleanup for gotype. 2014-01-03 10:47:06 +02:00
LCD 047
c1417e91e1 Merge pull request #919 from neeee/gotype
New checker for Go: gotype
2014-01-03 00:44:46 -08:00
LCD 47
85cb6bc877 HTML validator and w3: allow user to set the path to curl. 2014-01-03 10:43:01 +02:00
LCD 047
c4203dcc89 Merge pull request #916 from myint/rstcheck
Add rstcheck (reStructuredText code block syntax checker)
2014-01-03 00:15:33 -08:00
LCD 47
f1e8564ca7 Minor fix: use clang++ instead of clang for C++. 2014-01-03 10:13:34 +02:00
LCD 47
c73855dff5 Cleanup the glsl/cgc checker. 2014-01-03 09:54:10 +02:00
LCD 47
81bb669fd8 Merge remote-tracking branch 'glsl/glsl' 2014-01-03 09:00:22 +02:00
LCD 47
e9b96912f1 Set clang as the default C/C++/Obj-C/Obj-C++ compiler if gcc is not found. 2014-01-03 08:56:02 +02:00
LCD 47
1423f2815a Bit rot: jslint no longer accepts "--undef". Minor cleanup. 2014-01-03 08:27:26 +02:00
Shane da Silva
4c30aba431 Add haml-lint syntax/style checker
Add a checker `haml-lint` (https://github.com/causes/haml-lint).
2013-12-31 22:14:44 -05:00
Steven Myint
28c24b350f Add rstcheck
It checks reStructuredText like "rst2pseudoxml.vim" does, but
additionally rstcheck checks syntax of code blocks within RST files.

https://github.com/myint/rstcheck
2013-12-31 08:09:49 -08:00
lucy
2ddc93d0f9 New checker for Go: gotype. 2013-12-31 04:00:42 +01:00
Andy Earnshaw
3191a3c193 Fix args in actionscript/mxmlc checker 2013-12-30 16:55:02 +00:00
Joshua Rahm
850e285c0d removed echo 2013-12-27 01:29:07 -07:00
Joshua Rahm
8e31c53cdf added ability to add extra arguments 2013-12-27 01:28:25 -07:00
Joshua Rahm
e86385f789 added glsl checker 2013-12-27 01:07:08 -07:00
LCD 047
edcb2f2baf Merge pull request #908 from jrahm/master
Added --vapidir support to vala
2013-12-21 00:42:42 -08:00
LCD 47
9cef2f5ed4 Cleanup mxmlc checker. 2013-12-21 09:59:20 +02:00
Andy Earnshaw
7b29bea72d New syntax checker actionscript/mxmlc 2013-12-20 23:35:29 +00:00
Joshua Rahm
754045af4a fixed typo 2013-12-20 16:15:13 -07:00
Joshua Rahm
96dd453f4a added --vapidir support for vala 2013-12-20 16:10:18 -07:00
LCD 47
6aafacbbb8 Update: dart_analyzer has been replaced by dartanalyzer. 2013-12-13 13:51:55 +02:00
LCD 47
b5050a0264 Pylint: add exit code check. 2013-12-11 10:43:10 +02:00
LCD 47
c77eb31bdb Check return code of ghc-mod. 2013-12-04 23:58:57 +02:00
LCD 47
b89c644468 Fix an infinite loop in syntastic#util#findInParent().
As a side effect, also fix some of the "has('win32')" mess.
2013-12-04 16:50:35 +02:00
LCD 47
7dee77afda Minor fix: errorformat for bison. 2013-12-02 18:30:41 +02:00
LCD 47
c18ad3e5b8 New checker for yacc: bison. 2013-12-02 16:31:45 +02:00
LCD 47
f187c3b50b Minor fix: highlighting for flex. 2013-12-02 16:13:46 +02:00
LCD 47
7e8c120d49 Fix the scss_lint checker. 2013-12-02 13:12:29 +02:00
LCD 47
9856b73b3a New checker for lex: flex. 2013-12-02 13:11:32 +02:00
LCD 47
aa63e1d79e Cleanup fo the racket checker. 2013-12-01 19:09:33 +02:00
Steve Bragg
5b4dc6734a added a syntax checker for racket files 2013-11-29 20:56:01 -05: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
a4ad407c67 Minor cleanup for pylama. 2013-11-29 10:18:53 +02:00
LCD 47
fa2e6b96d9 Minor cleanup: replace match() by stridx() when appropriate. 2013-11-26 23:19:01 +02:00
LCD 47
cf66f35658 Cleanup the limbo checker. 2013-11-25 20:01:21 +02:00
LCD 47
53fab67530 Merge remote-tracking branch 'limbo/syntax-checker-limbo' 2013-11-25 19:50:37 +02:00
LCD 47
06bddd1da3 Minor cleanup: qualify regexp in msgfmt. 2013-11-25 19:48:25 +02:00
Alex Efros
7b487a04c0 add syntax_checkers/limbo/limbo.vim 2013-11-25 16:48:18 +02:00
LCD 47
9fba7eeeb7 Cleanup for msgfmt.
Fix errorformat.
Add whitespace processing.
Add custom highlighting for 'keyword "..." unknown'.
2013-11-23 17:38:27 +02:00
syucream
1319e52925 Add syntax checking plugin for po files of gettext 2013-11-23 03:49:45 +09:00
LCD 047
e9640d3d1c Merge pull request #874 from darkiri/master
oclint does not have -text option any more
2013-11-20 22:51:54 -08:00
LCD 47
dcf25adf66 Better support for perlbrew. 2013-11-21 08:47:11 +02:00
Colin Keith
66cc656fa6 removed executable() check so as to support different perl versions using perlbrew (I.e. local version different to system version) via "let g:syntastic_perl_interpreter=/usr/bin/env perl" 2013-11-20 22:59:49 -05:00
darkiri
1123e2b0f7 oclint does not have -text option any more 2013-11-20 22:18:04 +01:00
LCD 47
94f710ddde New checker yamlxs for YAML. 2013-11-20 16:55:05 +02:00
LCD 47
7b00a18185 Merge branch 'debug' 2013-11-16 10:11:22 +02:00
LCD 47
55e8b51219 Remove a few forgotten references to syntastic#makeprg#build(). 2013-11-15 23:02:06 +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
7b36f9147f More detailed debugging.
Moved logging functions to autoload/syntastic/log.vim.
Cleanup debug functions.
Add a function to dump option variables.
2013-11-14 10:13:05 +02:00
LCD 47
bdc4b0f177 Update: shallcheck no longer has a jsoncheck. 2013-11-13 09:05:06 +02:00
LCD 47
822639755d Javac: fix path munging under Cygwin. 2013-11-12 20:44:32 +02:00
LCD 47
56528e877e Update errorformat for fsc and scalac. 2013-11-11 19:02:09 +02:00
LCD 47
802ccf53ab Fix luac highlighting. 2013-11-11 18:24:36 +02:00
LCD 47
8e0ceb8ffe New checker eslint for JavaScript (@maksimr). 2013-11-09 10:29:44 +02:00
LCD 47
8f35172e00 New chacker cppcheck for C/C++. 2013-11-08 11:11:34 +02:00
LCD 47
71ad20e184 More typos. 2013-11-08 10:45:15 +02:00
LCD 47
5f0be83a3d Merge branch 'master' into registry_cleanup 2013-11-08 10:34:15 +02:00
LCD 047
d952d14747 Merge pull request #856 from kaleb/patch-5
html/tidy: Remove hgroup, it is non-conforming
2013-11-07 23:18:11 -08:00
LCD 047
154d0c580a Merge pull request #855 from kaleb/patch-4
html/tidy: Add WAI-ARIA attributes
2013-11-07 23:16:36 -08:00
Kaleb Hornsby
1072ab0d14 Remove hgroup, it is non-conforming
http://www.w3.org/html/wg/drafts/html/master/obsolete.html#hgroup
2013-11-07 16:39:10 -05:00
Kaleb Hornsby
c907d1bb20 Added WAI-ARIA attributes
Added all WAI-ARIA aria-* and role attributes.

http://www.w3.org/TR/wai-aria/states_and_properties#state_prop_def

These are used to create accessible web applications.
2013-11-07 16:37:34 -05:00
Kaleb Hornsby
3c33284fa9 rm'd unkown attribute rule
more info: a956a81432 (commitcomment-4537304)
2013-11-07 16:20:44 -05:00
LCD 47
531859e89e Typo in html/tidy. 2013-11-07 21:14:15 +02:00
LCD 47
8922dc2388 Cleanup related to the HighlightRegex() functions. 2013-11-07 18:27:11 +02:00
LCD 47
1a5bf0118a Cleanup related to the HighlightRegex() functions. 2013-11-07 18:24:10 +02:00
LCD 47
e07cd55385 Merge branch 'master' into registry_cleanup 2013-11-07 17:50:45 +02:00
LCD 047
b7ba0c0899 Merge pull request #851 from kaleb/patch-1
html/tidy: placeholder attribute should only be on input elements
2013-11-07 07:23:27 -08:00
Kaleb Hornsby
a69cb240d1 Allow more HTML5 input types
This allows the following:

- search
- number
- range
- date
- etc

Somebody could in theory put type="foo", but all browsers' default input type is "text" and they all ignore unknown types.
2013-11-07 09:57:29 -05:00
Kaleb Hornsby
38111f6e48 placeholder should only be on input elements 2013-11-07 09:53:43 -05:00
LCD 47
0436b39ec8 JS-YAML: fix errorformat. 2013-11-07 11:23:19 +02:00
LCD 47
2a1659813d JS-YAML: fix errorformat. 2013-11-07 11:18:55 +02:00
LCD 47
997e079351 Merge branch 'master' into registry_cleanup 2013-11-07 10:23:57 +02:00
LCD 47
84e71d68b9 Jshint: really fix column handling in errorformat this time. ;) 2013-11-07 10:22:56 +02:00
LCD 47
4a7d1f31e7 Merge branch 'master' into registry_cleanup 2013-11-06 21:06:20 +02:00
LCD 47
8510e8677a Jshint: fix column handling in errorformat. 2013-11-06 21:06:05 +02:00
LCD 47
ecf03b1c01 Merge branch 'master' into registry_cleanup 2013-11-06 14:57:16 +02:00
LCD 47
f22a2b164d Cleanup: lessc errorformat. 2013-11-06 14:57:00 +02:00
André Gaul
4d7a21f721 less: adapt lessc errorformat
Closes #845.
2013-11-06 12:16:20 +01:00
LCD 47
a0f59e7242 Safety checks for ghc-mod. 2013-11-05 20:34:54 +02:00
LCD 47
2c1c0d0eeb Safety checks for ghc-mod. 2013-11-05 20:28:19 +02:00
LCD 47
fd5a52e0bd Cleanup. 2013-11-04 23:00:51 +02:00
LCD 47
d9296d6321 Update scss_lint to the new registry framework. 2013-11-04 20:00:35 +02:00
LCD 47
1790a06de5 Merge branch 'master' into registry_cleanup 2013-11-04 19:59:21 +02:00
LCD 47
4c2dcf23a6 Cleanup. 2013-11-04 19:55:31 +02:00
Shane da Silva
0d207aaec5 Add scss-lint checker for SCSS files
Add checker for linting and syntax checking SCSS files with `scss-lint`
(https://github.com/causes/scss-lint/).
2013-11-03 18:00:25 -08: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
cd1d1a2a55 Cleanup. 2013-11-01 11:51:04 +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
afb10fac26 Coco checker: typo. 2013-10-28 12:31:16 +02:00
LCD 47
0ef7312cab Handlebars checker: send normal output to /dev/null. 2013-10-28 08:51:29 +02:00
LCD 47
68b2c651b3 Fix handlebars errorformat. 2013-10-25 16:30:00 +03:00
LCD 47
ccef916d48 More magic / nomagic fun. 2013-10-25 15:56:09 +03:00
LCD 47
95aab2530e Try to avoid fun with magic / nomagic by qualifying regexps. 2013-10-25 15:46:16 +03:00
LCD 47
16b246e1c1 Remove leftovers from the latest validator refactor. 2013-10-25 15:08:41 +03:00
LCD 47
d238665385 Fix unwanted filter() and map() side effects. Minor cleanup. 2013-10-23 12:59:23 +03:00
Yorick Peterse
5ee1406021 Added a syntax checker for ruby-lint.
ruby-lint is a linter for Ruby, see https://github.com/YorickPeterse/ruby-lint
for more information.
2013-10-21 23:54:10 +02:00
Ireton, Doug
e4fcb80ee4 Add filetype and subchecker args to foodcritic makeprg 2013-10-17 06:22:44 -07:00
Ireton, Doug
304d3649c5 Add foodcritic syntax checker for Chef files
Requires a ftdetect plugin to set filetype to chef or ruby.chef, e.g. vim-chef (https://github.com/dougireton/vim-chef)
2013-10-16 22:17:26 -07:00
LCD 47
c035ac2426 The html/validator checker chokes on empty lines in curl output. 2013-10-10 19:26:44 +03:00
LCD 47
2fbd870a20 Deal with more pylint versioning creativity. 2013-10-08 18:24:14 +03:00
LCD 47
47ac858692 Merge pull request #806 from mutewinter/handlebars
Handlebars Support
2013-10-02 23:23:59 -07:00
Jeremy Mack
e59826164e Handlebars support 2013-10-02 22:56:26 -04:00
LCD 47
d74a2e19f9 Rename erlang.vim --> escript.vim. 2013-09-30 14:52:36 +03:00
LCD 47
1e44002f82 Erlang checker cleanup. 2013-09-30 14:52:01 +03:00
LCD 47
ce2270e228 Perl checker: deal with the "-t" taint checking. 2013-09-29 22:13:36 +03:00
LCD 47
2e7a16bf65 Rework of the perl checker.
Helper script efm_perl.pl is no longer needed, error formatting is now
done in a preprocess function.

g:syntastic_perl_interpreter is now a list.  If set to a string,
the value is still used for backward compatibility, but a
deprecation warning is issued.  There is also a buffer-scoped
b:syntastic_perl_interpreter.

Warnings are are now checked only if no errors are found.
2013-09-29 17:29:21 +03:00
LCD 47
27d7eef79c Merge pull request #783 from zenzike/master
Parse multi line warnings correctly
2013-09-27 11:00:41 -07:00
LCD 47
7b73975d79 Minor errorformat fix for the go checker. 2013-09-27 20:55:56 +03:00
LCD 47
7eccb722af Merge pull request #800 from kisielk/master
Support multi-line error messages in the go checker.
2013-09-27 10:53:48 -07:00
Kamil Kisiel
dd8dfc61da Update go.vim errorformat to remove extra spaces. 2013-09-27 08:59:01 -07:00
LCD 47
d251ca822d Minor cleanup. 2013-09-27 10:35:46 +03:00
Kamil Kisiel
538dc2c7ef Support multi-line error messages in the go checker. 2013-09-26 16:01:30 -07:00
LCD 47
7d24ad678f Make the nagelfar checker use the standard args mechanism. 2013-09-26 08:34:05 +03:00
LCD 47
237ebeadb2 Fix pylint version parsing on Windows. 2013-09-25 13:08:50 +03:00
LCD 47
f79e9d2eda Minor cleanup. 2013-09-24 21:43:12 +03:00
LCD 47
bedf88c184 Cleanup parsing versions. 2013-09-24 08:39:07 +03:00
LCD 47
c0f349a4b2 Pylint checker again: calling syntastic#util#parseVersion() is wrong. 2013-09-23 23:29:10 +03:00
LCD 47
8965bd141b Safer version check for pylint. 2013-09-23 23:14:46 +03:00
LCD 47
3eb51f1e26 Cleaner error handling for pylint. 2013-09-20 07:49:19 +03:00
LCD 47
0048156d8f Merge branch 'master' of github.com:scrooloose/syntastic 2013-09-20 01:52:47 +03:00
LCD 47
29839fc89f Merge branch 'gcc_refactor' 2013-09-20 01:52:15 +03:00
LCD 47
935ee1d95f Merge pull request #757 from nougad/erlang_rebar
Add possibility to specify a rebar file as parameter in erlang_check_file.erl
2013-09-19 15:47:52 -07:00
LCD 47
56864a328c Tune flake8 error levels. 2013-09-20 01:45:58 +03:00
LCD 47
356e4338f9 Javac checker: do something sensible when we can't find maven. 2013-09-20 01:37:28 +03:00
LCD 47
80234a062e Fix a minor bug in the javac checker. 2013-09-20 01:27:28 +03:00
LCD 47
8805b83654 Add safety guard for pylint. 2013-09-20 01:16:36 +03:00
LCD 47
a5c198f89b Merge pull request #789 from jbernard/master
Correct expected return values for checkpatch checker
2013-09-19 15:07:42 -07:00
LCD 47
a79e050c13 Merge pull request #790 from stwind/master
Erlang: support files under test/ folder
2013-09-19 15:06:56 -07:00
LCD 47
abd6d08401 Merge pull request #778 from smfoote/dustjs
Add support for dustjs files
2013-09-19 14:47:37 -07:00
Steven Foote
d09095b992 Follow syntastic convention and improve makeprg config 2013-09-19 13:33:24 -07:00
stwind
c541515007 Erlang: support files under test/ folder 2013-09-12 14:29:13 +08:00
Jon Bernard
aaacb92ce2 Correct expected return values for checkpatch checker
checkpatch.pl will return 1 when warnings or errors are found, at least in the
current -next tree.  This commit makes the checkpatch checker work again.
2013-09-11 11:19:42 -04:00
Nicolas Wu
f184fc1b67 Parse multi line warnings correctly 2013-08-31 17:29:31 +01:00
Florian Eitel
8c698b15d1 Add possibility to specify a rebar file as parameter in erlang_check_file.erl
I want to use lib_dirs and sub_dirs from rebar file and run compile with
this paths. So I search for the next rebar.config file and pass this in
g:syntastic_erlc_include_path.

see: https://github.com/scrooloose/syntastic/issues/685
2013-08-19 09:57:27 +02:00
LCD 47
bb9cfc96eb Merge branch 'master' into gcc_refactor 2013-08-16 09:15:09 +03:00
LCD 47
3a03fee48c Adjust for newer weirdness in the python/pylama checker. 2013-08-16 09:14:52 +03:00
LCD 47
8fb6504f63 Cleanup errorformat for tex/lacheck. 2013-08-16 08:07:54 +03:00
LCD 47
6008371c11 Cleanup errorformat for tex/chktex. 2013-08-16 08:05:42 +03:00
LCD 47
10e4f91ae0 Merge branch 'master' into gcc_refactor 2013-08-16 01:52:56 +03:00
LCD 47
7dba68cffb Cleanup the python/pep257 checker. 2013-08-16 01:36:40 +03:00
LCD 47
37c9d118f8 Merge remote-tracking branch 'marc2982/master' 2013-08-15 23:46:33 +03:00
LCD 47
39dabc88af Yet more typescript/tsc errorformat contortions. 2013-08-15 23:00:48 +03:00
LCD 47
9e5319c9a1 More fiddling with typescript/tsc errorformat and args. 2013-08-15 21:41:50 +03:00
Marc Bryan
40229b1255 Add pep257 Python syntax_checker 2013-08-15 11:41:49 -06:00
Sebastien Badia
fab79e3ff6 [issue-767] Remove backslash in puppet-lint log format (refs: #767) 2013-08-15 17:27:17 +02:00
LCD 47
2fd1b4a7c4 Update errorformat for typescript/tsc. 2013-08-15 12:23:04 +03:00
LCD 47
1541e3092e Merge branch 'master' into gcc_refactor 2013-08-15 07:44:40 +03:00
Asa Ayers
5d123a3a6a Coffeelint: Fixed errorformat, last line is optional 2013-08-13 15:52:14 -04:00
LCD 47
7eda5de0ca Haskell cleanup.
Make the "compressWhitespace" filter kill \001 characters.
Make the ghc-mod checker use the "compressWhitespace" filter.
Minor formatting of the hlint checker.
2013-08-12 22:46:20 +03:00
LCD 47
561e2c9431 Minor bug fix in asciidoc checker. 2013-08-12 18:00:37 +03:00
LCD 47
90a199ada7 Merge branch 'master' into gcc_refactor 2013-08-12 17:58:48 +03:00
LCD 47
90dc8f3f8f Make expand special characters in g:syntastic_haml_interpreter. 2013-08-12 17:58:25 +03:00
LCD 47
e9118ca2aa Make jshint executable configurable. 2013-08-12 17:54:57 +03:00
LCD 47
e12217e7be Make csslint executable configurable. 2013-08-12 17:50:36 +03:00
LCD 47
e4a966a517 Pylint: ignore informational messages. 2013-08-12 11:22:12 +03:00
LCD 47
00dd154122 Add handling for coffeelint warnings. Minor fix for errorformat. 2013-08-11 22:48:40 +03:00
Asa Ayers
28d544fe7c Coffeelint: Added return code checking. refs #762 2013-08-11 15:35:17 -04:00
Asa Ayers
33c991dac9 Coffeelint: Added new formats for upcoming v0.5.7 release. fixes #762 2013-08-11 14:35:23 -04:00
LCD 47
1bc5ce6d4c Merge branch 'master' into gcc_refactor 2013-08-11 10:12:40 +03:00
LCD 47
c8bceb4ac3 New checker asciidoc, for (surprise!) asciidoc files. 2013-08-11 10:10:57 +03:00
LCD 47
9b3eab1cb9 Merge branch 'master' into gcc_refactor 2013-08-10 09:03:23 +03:00
LCD 47
5c75519bc8 Add verilator checker for verilog. 2013-08-07 20:41:50 +03:00
LCD 47
74cd2bd9c9 Merge branch 'master' into gcc_refactor 2013-08-07 12:03:13 +03:00
LCD 47
c8a05f4176 Merge branch 'master' into preprocess 2013-08-07 12:02:56 +03:00
LCD 47
755ecfe46b Catch up with the latest pylint contortions. 2013-08-07 12:01:45 +03:00
Steven Foote
6b2ae755a3 Add support for dustjs files
Check dustjs files using swiffer (https://github.com/smfoote/Swiffer.js)
2013-08-05 09:21:08 -07:00
LCD 47
65dbfa0895 Fix checkstyle error levels. Closes #709. 2013-08-01 18:35:08 +03:00
LCD 47
9913819255 Merge branch 'fix_checkstyle' into preprocess 2013-08-01 18:03:01 +03:00
LCD 47
4abed35797 Undo most of the changes to eruby/ruby.
The new proprocess option is not useful here.
2013-08-01 17:26:51 +03:00
LCD 47
af513ff680 Validator checker: check curl return status. 2013-08-01 13:50:50 +03:00
LCD 47
cc5ecf2bdb Replace lmake with equivalent system + lgetexpr.
It's now possible to deal with \0 characters in checkers' output.
Shell escaping is saner and safer.
SyntasticMake() has a new option 'preprocess'.
Checkers html/validator and eruby/ruby now use the new preprocess
option.  Auxilliary script validator_decode.awk is no longer needed.
2013-08-01 13:40:29 +03:00
LCD 47
e380a86180 Shell escaping is safer since commit a1e1108. 2013-07-31 16:32:36 +03:00
LCD 47
f66613e04e Merge branch 'master' into gcc_refactor 2013-07-29 18:51:51 +03:00
LCD 47
bcbc422d26 Merge pull request #741 from zenzike/master
Detangle ghc-mod and hlint
2013-07-29 08:41:14 -07:00
LCD 47
d82ee05a80 Add filetype maps for lhaskell and gentoo-metadata.
Remove checker for gentoo-metadata, since this is now an alias.
2013-07-29 18:16:54 +03:00
Nicolas Wu
ecb5a88026 Compress whitespace 2013-07-29 16:14:36 +01:00
Nicolas Wu
d92a4b79d9 Simplify errorformat 2013-07-29 16:06:09 +01:00
Nicolas Wu
fa0ef8427d Remove hlint option from ghc-mod 2013-07-29 13:02:29 +01:00
Nicolas Wu
8745794ea5 ghc-mod only does check phase 2013-07-29 12:55:38 +01:00
Nicolas Wu
f9302bbb32 Add hlint support 2013-07-29 12:52:22 +01:00
LCD 47
3288b3cddb Add more knobs to the html/tidy checker. 2013-07-28 21:59:23 +03:00
LCD 47
03429e69b6 More eRuby fun with encodings.
Ruby 1.8 doesn't support encodings when opening files.
2013-07-24 23:01:57 +03:00
LCD 47
a498934c4b Merge branch 'master' into gcc_refactor 2013-07-20 09:46:18 +03:00
LCD 47
bd67cec8c7 Scala checkers: minor cleanup. 2013-07-20 09:45:40 +03:00
LCD 47
7d913e7165 Merge branch 'master' into gcc_refactor 2013-07-20 09:28:27 +03:00
kongo2002
f68fb27270 scala fsc: use util#shexpand() instead 2013-07-19 01:05:19 +02:00
kongo2002
9e5c15f966 scala: add fsc syntax checker 2013-07-19 01:01:33 +02:00
LCD 47
d8d8a300d7 Rst2pseudoxml: minor adjustment of error levels. 2013-07-17 14:55:38 +03:00
LCD 47
366360dcc1 Typos in the puppetlint checker. 2013-07-16 22:30:28 +03:00
LCD 47
9d15f1f891 Merge branch 'master' into gcc_refactor 2013-07-15 18:38:57 +03:00
LCD 47
ba0f349dbf Pylama: pep8, pep257, and mccabe are style checkers. 2013-07-15 11:24:41 +03:00
LCD 47
4b9bf4405b Pylama: new checker for Python 2.
Minor refactoring.
2013-07-14 19:13:18 +03:00
LCD 47
dce4c76c21 Merge branch 'master' into gcc_refactor 2013-07-12 08:09:33 +03:00
LCD 47
8c05dbf16e A first attempt at checking the exit code from the checkers. 2013-07-12 08:08:41 +03:00
LCD 47
3e46bcf71a Version check for rubocop.
Only rubocop versions 0.9.0 or later are supported.
2013-07-12 07:01:16 +03:00
LCD 47
0f6dad6b4c Merge remote-tracking branch 'sds/fix-rubocop-errorformat' 2013-07-12 06:52:09 +03:00
Shane da Silva
baa95470b6 Change --emacs flag to --format emacs for RuboCop
The `--emacs` flag has been deprecated. Switch to specifying
`--format emacs` so that this doesn't break when RuboCop 1.0 is
released.
2013-07-11 12:30:01 -07:00
Shane da Silva
0975a2f948 Fix errorformat for RuboCop checker
The errorformat for the RuboCop checker was missing the capture group
for the column number of the error/warning, which resulted in the
location list attempting to jump to 'filename.rb:80', which would
attempt to open a new file.

The solution was to add the "%c" to capture the column number of the
error.
2013-07-11 12:22:38 -07:00
LCD 47
7335fa6e82 Merge branch 'master' into gcc_refactor 2013-07-11 09:35:13 +03:00
LCD 47
bc6ca26f68 Removed erb checker for eRuby.
Rationale: ruby.vim is functionally identical, and faster.
2013-07-11 09:31:19 +03:00
LCD 47
9f7d5d7447 Errorformat adjustments for podchecker.
Deal with error messages like this:

    *** ERROR: =over on line 7 without closing =back at line EOF in file ...
2013-07-10 14:29:24 +03:00
LCD 47
6bff80366a Merge branch 'master' into gcc_refactor 2013-07-10 11:21:22 +03:00
LCD 47
f4ccd312ee More shell escaping bugs. 2013-07-10 11:20:54 +03:00
LCD 47
a4a6dd6fcf Merge branch 'master' into gcc_refactor 2013-07-10 10:31:41 +03:00
LCD 47
a1e1108c8e Fix a bug related to shell escaping. 2013-07-10 10:30:41 +03:00
LCD 47
49e6d23168 Merge branch 'master' into gcc_refactor 2013-07-08 11:31:03 +03:00
LCD 47
69951dfe6e Cleanup. 2013-07-08 11:17:00 +03:00
Justin Donaldson
491f5a9e9b redirect output to dev null for syntax checking 2013-07-07 14:36:22 -07:00
Justin Donaldson
5ea175b6c5 ignore output by default 2013-07-07 14:29:59 -07:00
Justin Donaldson
21e38bc3bf add hss syntax checker 2013-07-07 13:36:35 -07:00
LCD 47
fd01b9091d Merge branch 'master' into gcc_refactor 2013-07-06 09:23:46 +03:00
LCD 47
3d614fb2bd Cleanup. 2013-07-06 09:08:07 +03:00
Thomas Holmes
e74843c941 Mix needs the cwd to be set to the mix file. 2013-07-05 22:32:55 -04:00
Thomas Holmes
8f363a4ecb Fix Elixir mix detection.
Syntax checker now looks up thorugh its parents to find if it is part
of a mix project.
2013-07-05 17:22:10 -04:00
Thomas Holmes
2d537305f6 Refactor FindInParent from haxe.vim to be a util function 2013-07-05 17:12:06 -04:00
LCD 47
fa961edac6 Merge branch 'master' into gcc_refactor 2013-07-04 21:30:52 +03:00
LCD 47
6ba8e651cb Make shell escaping less produce fewer useless quotes.
Function inspired by tpope's vim-dispatch.
2013-07-04 21:04:20 +03:00
LCD 47
0f1d451d96 Fix for Rails syntax.
There is now little point in running this checker rather than the plain
ruby one.
2013-07-03 21:36:14 +03:00
LCD 47
b2c6ac164d Merge branch 'master' into gcc_refactor 2013-07-03 10:49:50 +03:00
jvenant
aefae69985 re-add pom timestamp management 2013-07-01 18:57:21 +02:00
jvenant
882298ed02 correct test directory property name 2013-07-01 18:50:48 +02:00
jvenant
dc351c8d31 Add 4 features to maven management :
* Retrieve maven properties from help:effective-pom
    * Extract targets path from maven properties
    * Recursively search pom file in parents (using findfile)
    * Use a dictionary to cache classpath for each project pom
2013-07-01 18:23:56 +02:00
LCD 47
582a717ff8 Merge branch 'master' into gcc_refactor 2013-07-01 18:18:35 +03:00
LCD 47
cb71439de5 Make the haxe checker aware of g:vaxe_hxml. 2013-07-01 18:14:15 +03:00
LCD 47
b00b7a2cea Make the haxe checker aware of vaxe. 2013-07-01 10:37:52 +03:00
LCD 47
593cf4e123 Merge branch 'master' into gcc_refactor 2013-06-29 13:09:21 +03:00
LCD 47
8751e32710 Bug fix: incomplete registering of cloned checkers.
Scenario:

- a C file is recognized as having filetype cpp
- run :SyntasticInfo
- run :setf c
- run :SyntasticInfo again

The only checker recognized will be oclint.  The reason is, oclint is
registered as a c checker when called from cpp initialization, and that
prevents registering other c checkers when calling ':setf c'.

Solution: always initialize all checkers for a filetype.
2013-06-29 13:03:28 +03:00
LCD 47
24876abc32 More encoding problems in the eruby/ruby checker. 2013-06-29 10:55:43 +03:00
LCD 47
6cc0ed4003 Make checkstyle aware of message priorities.
Known bug: this breaks if the name of the file being checked contain one
of the characters <, >, ', ", &.
2013-06-28 21:24:38 +03:00
LCD 47
607ce98107 Checkstyle is (surprise!) a style checker. 2013-06-28 08:43:16 +03:00
LCD 47
344701c9c3 Change the gfortran checker to use syntastic#c#GetLocList(). 2013-06-26 16:58:27 +03:00
LCD 47
f48c500de9 Merge branch 'master' into gcc_refactor 2013-06-26 16:21:20 +03:00
LCD 47
6239284d16 Variable g:systastic_puppet_lint_arguments is deprecated. 2013-06-25 21:12:23 +03:00
LCD 47
3e4501c1ff More refactoring: add s:GetCheckerVar(). 2013-06-25 09:59:07 +03:00
LCD 47
907ef20e3c New preprocess function "filterForeignErrors". Cleanup. 2013-06-24 11:46:27 +03:00
LCD 47
5e196e67c5 Merge branch 'master' into gcc_refactor 2013-06-19 12:09:48 +03:00
LCD 47
9aef6b24ad Merge branch 'split_puppet' 2013-06-19 12:07:42 +03:00
LCD 47
05a3ca32ba Puppetlint doesn't produce useful results without puppet. 2013-06-19 12:07:20 +03:00
LCD 47
2cbcf7dcc7 Give up trying to set an encoding for erb. 2013-06-19 11:47:27 +03:00
LCD 47
48bb7bf816 Merge branch 'master' into gcc_refactor 2013-06-18 19:57:27 +03:00
LCD 47
c21f9e0f86 Rename eruby.vim -> erb.vim. 2013-06-18 19:47:26 +03:00
LCD 47
e7a3fd62a6 Clean erb checker. 2013-06-18 19:47:05 +03:00
Grzegorz Smajdor
d9d641fe0a provide a syntax check for eruby file
(cherry picked from commit e6ff3de83b9fee4f92dbc3042cf5fbcc48464f73)
2013-06-18 19:08:52 +03:00
LCD 47
a7243e87a6 Split the puppet checker into puppet and puppetlint. 2013-06-18 14:40:24 +03:00
LCD 47
f712fd959a New checker: cobol/cobc (OpenCOBOL). 2013-06-17 14:52:12 +03:00
LCD 47
ff2b615093 Merge branch 'master' into gcc_refactor 2013-06-17 14:02:44 +03:00
LCD 47
ede4127f13 eRuby: take into account &fileencoding. 2013-06-12 08:00:27 +03:00
Manic Chuang
73a83a3208 Let eruby checker can handle UTF-8 2013-06-12 12:08:42 +08:00
LCD 47
da7002516b Added option 'cwd' to SyntasticMake(). 2013-06-11 21:36:44 +03:00
LCD 47
4284fbf522 Merge branch 'master' into gcc_refactor 2013-06-10 23:25:21 +03:00
LCD 47
197ca09edd Bug fix: proper escaping in eruby. Fixes #29. 2013-06-08 21:08:45 +03:00
LCD 47
aa73921d30 Merge branch 'master' into gcc_refactor 2013-06-08 09:47:17 +03:00
LCD 47
4ae72576da Merge pull request #679 from orenhe/shell_dont_validate_archaic_posix
sh: do not enforce POSIX validation on bash/zsh scripts
2013-06-07 11:51:01 -07:00
LCD 47
b6f6abba86 Merge branch master. 2013-06-07 21:18:29 +03:00
LCD 47
fd38284b28 Cleanup. 2013-06-07 20:56:39 +03:00
LCD 47
6e90447a31 Cosmetic change: checkpatch is a style checker. 2013-06-07 19:27:48 +03:00
LCD 47
000f965409 Merge branch 'master' into gcc_refactor 2013-06-07 12:27:50 +03:00
LCD 47
e8579fc8c9 Update errorformat for sass. Fixes #42. 2013-06-07 11:50:54 +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
c1de9703ff Makes the haml executable configurable. See #677. 2013-06-06 14:06:47 +03:00
LCD 47
d3d4ff3935 Merge branch 'master' into gcc_refactor 2013-06-06 11:10:10 +03:00
LCD 47
4428f7e54f CoffeeScript changes, again.
Version check: errorformat depends on the combination of node version
and CoffeeScript version.  When run under recent nodes, only 1.6.2 and
newer produce errors we know how to parse.

Changed again "-t", this time to "-cp".
2013-06-05 17:00:34 +03:00
LCD 47
3c2549c6cd Changed arguments for coffee-script, again.
With "-t" some errors (e.g. "unexpected INDENT") are not caught.
Apparently "-n" works better.
2013-06-05 15:56:07 +03:00
LCD 47
049a32e578 Remove obsolete comment. 2013-06-05 11:36:42 +03:00
Michael Hart
67ecc65223 Change coffee arg from -c to -t to prevent JS file pollution
The -t flag will output tokens (and syntax errors if there are any) - it is quite a lot quicker than another alternative, -n, especially for large files.
2013-06-05 18:25:54 +10:00
LCD 47
b774569ad0 Unbreaks coffee-script. Partial fix for #663. 2013-06-04 21:34:42 +03:00
William Ting
dd7ed77886 fix errror misspellings 2013-06-04 07:53:06 -05:00
hirochachacha
cc9fc0b52b add golint to syntax_checkers 2013-06-04 01:12:04 +09:00
LCD 47
dbcaa992ac Bug fix: nasm output. 2013-06-02 13:28:49 +03:00
LCD 47
67ec6ae4f2 Merge branch 'master' into gcc_refactor 2013-06-01 07:45:54 +03:00
LCD 47
0151c96c9c Atdtool: make syntax highlighting more robust. 2013-05-31 21:31:35 +03:00
LCD 47
63eceb6969 Merge branch 'master' into gcc_refactor 2013-05-31 21:15:55 +03: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
a8be73d113 Moved syntastic#gcc#GetLocList() to autoload/syntastic/c.vim. 2013-05-30 19:44:12 +03:00
LCD 47
4a6ece567a Merge branch 'master' into gcc_refactor 2013-05-30 19:29:12 +03:00
LCD 47
ec434f50b1 Added checkers for Objective-C++ (mostly cloned from Objective-C). 2013-05-30 18:55:39 +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
5a73439775 New checker: text/atdtool. 2013-05-29 18:03:14 +03:00
LCD 47
3c41ef06b3 Remove duplicated code. 2013-05-29 14:57:29 +03:00
LCD 47
76b90995f5 Uniform naming for load guards. 2013-05-29 14:50:29 +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
LCD 47
dd6e1c703b Relax parsing of version strings. 2013-05-29 09:55:42 +03:00
LCD 47
b4e0bdfe12 Coffee checker: "--lint" is now deprecated. 2013-05-26 17:47:52 +03:00
LCD 47
f4a5842d18 Small fixes. 2013-05-21 15:02:42 +03:00
LCD 47
ea827bfa06 GCC refactor. 2013-05-21 10:03:04 +03:00
Eddie Monge Jr.
2da8a149a6 Add main to list of block level elements
HTML5 now supports main element http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-main-element
2013-05-20 15:00:42 -06:00
LCD 47
3462105740 Splint: kip some assertion messages. 2013-05-20 21:52:49 +03:00
LCD 47
c64f49456e Syntax checker: pod/podchecker. 2013-05-20 20:57:02 +03:00
LCD 47
8c0f54e794 Syntax checker: nroff/mandoc. 2013-05-20 19:37:26 +03:00
LCD 47
c7ad55cbbd Allow per-buffer b:syntastic_perl_efm_program to override g:syntastic_perl_efm_program. 2013-05-17 19:53:38 +03:00
LCD 47
5f7e62f95d Allow g:syntastic_perl_interpreter to override the Perl interpretter. 2013-05-17 19:09:21 +03:00
LCD 47
49166270fa Bug fix. 2013-05-14 21:48:00 +03:00
Martin Grenfell
602bbe7b24 break down some error format strings
Most errorformats are now expressed 1 "clause" per line.
2013-05-14 17:36:20 +01:00
LCD 47
68cfe6513b Cleanup. 2013-05-13 16:37:16 +03:00
LCD 47
7319cb6a9e Postprocessing functions.
This patch adds an option 'postprocess' to SyntasticMake().  The value
of this option is a list of names.  Each name is translated to a
function syntastic#postprocess#name().  These functions are applied in
order to the list of errors just before SyntasticMake() returns.  They
take a single parameter, the list of errors, and are supposed to
returned the processed list.
2013-05-10 14:11:07 +03:00
LCD 47
d261751c77 Merge pull request #632 from mbedna/master
Fix to enable using syntastic plugin with java projects using maven in cygwin
2013-05-06 05:52:45 -07:00
Marcin Bednarek
5bd761984c Using standard output directories for maven project. 2013-05-06 12:25:19 +01:00
Marcin Bednarek
2f89733f3e Cygwin support added. 2013-05-06 12:24:15 +01:00
LCD 47
17d49a8db6 Added pep8 checker for Python. 2013-05-05 08:54:03 +03:00
LCD 47
165602e572 LLVM: avoid leaving behind junk files. 2013-04-30 23:14:55 +03:00
Andrew Kelley
3ef7ec6f5b add llvm syntax checker 2013-04-30 15:42:29 -04:00
LCD 47
32423160aa Fix (again) errorformat for checkbashisms. 2013-04-30 00:16:15 +03:00
Marcin Bednarek
8217787543 target/test-classes added to classpath. 2013-04-29 21:26:33 +01:00
Marcin Bednarek
aecbf44568 ^M changed to \r - carriage return. 2013-04-28 21:06:39 +01:00
Marcin Bednarek
9d6c40c1f7 Cygwin support added. Using cygpath to get actual path for Cygwin. 2013-04-28 14:32:12 +01:00
LCD 47
9493124831 Rework of the haskell/ghc-mod checker. 2013-04-25 22:40:03 +03:00
LCD 47
2c894c951c Bug fix in objc/gcc. 2013-04-25 09:23:47 +03:00
LCD 47
7bbaa18dce Gets the D checker in synch with the C/C++ ones. 2013-04-24 11:02:03 +03:00
Martin Grenfell
2e608688b9 Merge pull request #620 from lafka/erl-nested-dirs
Add support for nested dirs inside src/
2013-04-22 04:21:11 -07:00
LCD 47
eca7c1e1a0 New C checker for Secure Programming Lint. 2013-04-21 22:21:13 +03:00
Martin Grenfell
dc01f5d69d clisp: some fixes
Add a buffer number to loc list entries.

Match warnings that are for multiple lines.
2013-04-21 18:37:41 +01:00
Martin Grenfell
5859a5bdff ruby/rubocop: bugfix 2013-04-21 17:31:37 +01:00
Recai Oktaş
02dbc6433a New syntax checker for Ruby: rubocop. 2013-04-20 23:48:31 +03:00
Olav Frengstad
f39fba1c87 Add support for nested dirs inside src/
When having nested directories (for instance `src/protocol/tm_protocol.erl`)
autocompilation would fail. This fix adds the abspath of all depdencies to
the codepath and sets compile option {i, _} to support both `deps/` and `lib/`.
2013-04-18 17:12:45 +02:00
LCD 47
6f214cbb6d Fix error highlighting in x?html/tidy. 2013-04-17 13:29:46 +03:00
LCD 47
b9700c7a6f Merge pull request #618 from liamcurry/py3kwarn
Added py3kwarn checker
2013-04-16 22:55:51 -07:00
LCD 47
78bc84fb5a Rework of the html/w3 checker. 2013-04-16 11:30:42 +03:00
LCD 47
742bcc1465 Typo. 2013-04-16 10:22:15 +03:00
Liam Curry
1653093baa Added py3kwarn checker 2013-04-15 17:15:49 -04:00
LCD 47
408287de6f Cleanup.
Adds an option g:syntastic_xhtml_tidy_ignore_errors to xhtml/tidy.
Cosmetic code changes.
2013-04-15 11:21:52 +03:00
LCD 47
f76ae1cc0f Go vet errorformat fix. 2013-04-14 09:38:51 +03:00
Kamil Kisiel
fdfa54e702 Add new "govet" checker for static checking of Go code with the vet tool 2013-04-13 20:56:44 -07:00
Kamil Kisiel
2472fe3ca0 Check for gofmt instead of go in the gofmt checker. 2013-04-13 20:35:27 -07:00
kongo2002
1ff67622c5 use $SHELL for scripts without shebang
thanks to @zhaocai
Closes #613
2013-04-13 12:29:57 +02:00
LCD 47
51001b66de Typo. 2013-04-12 13:29:47 +03:00
LCD 47
4604c97f06 Rework of the python checker. 2013-04-12 13:14:07 +03:00
LCD 47
49b0318fa6 Cleanup for tidy.
Added an user-defined global list of errors to ignore:
g:syntastic_html_tidy_ignore_errors.
Minor cleanup.
2013-04-11 23:00:25 +03:00
LCD 47
85d4631002 New checker for CSS: PrettyCSS. 2013-04-11 11:29:10 +03:00
LCD 47
13169b2477 New checker for C++: Google cpplint. 2013-04-10 23:44:04 +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
bd2d5e37ed Error format fix for pylint. 2013-04-10 11:48:17 +03:00
LCD 47
633dfa60ec HTML checker using http://validator.nu. 2013-04-05 11:47:17 +03:00
Martin Grenfell
128ac00c59 vhdl/ghdl checker: use syntastic#makeprg#build 2013-04-04 22:53:40 +01:00
Jaydyou
57568622fe added vhdl syntax checker utilizing ghdl 2013-04-04 22:52:26 +02:00
LCD 47
54cad3696e Makes sparse aware of &tabstop. 2013-04-03 11:35:02 +03:00
LCD 47
3b8f38dcf9 Merge pull request #596 from supki/syntax-checker-coqtop
Added syntax checker for coq.
2013-04-02 11:58:08 -07:00
Matvey Aksenov
a3e5fb201d Added syntax checker for coq. 2013-04-02 22:36:00 +04:00
LCD 47
c8208cf24e Merge pull request #595 from joshuarh/simplify-coffeescript-checker
update the default coffeescript checker
2013-04-02 11:31:49 -07:00
LCD 47
8f75fd547c php/php: prevent xdebug.cli_color from messing with checks. 2013-04-02 11:03:01 +03:00
Joshua Hoff
d769273bcc update the default coffeescript checker
No need to generate a file when linting, as the coffeescript compiler
will do that for you.

This has been tested with coffeescript 1.6.2.

Also: use options over flags for readibility
2013-04-01 20:33:58 -05:00
LCD 47
02a39b1c56 Updates errorformat in coffee. 2013-03-28 19:04:29 +02:00
LCD 47
b9dc0829ef Fixes the sparse checker.
Also allows %v to be used in errorformat.
2013-03-27 16:06:47 +02:00
LCD 47
1247394786 Add subchecker to syntastic#makeprg#build() calls. 2013-03-27 11:17:15 +02: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