Commit Graph

1138 Commits

Author SHA1 Message Date
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