Commit Graph

1593 Commits

Author SHA1 Message Date
LCD 47
b427af1e0f Cleanup: case-sensitive comparisons. 2015-02-23 17:09:00 +02:00
LCD 47
0e23cb0977 Cleanup.
Add the "abort" attribute to the core functions.
Undefined function s:CygwinPath() in autoload/syntastic/util.vim.
2015-02-23 16:40:53 +02:00
LCD 47
2a07c4acd9 New checker for SML: smlnj. 2015-02-23 15:49:38 +02:00
LCD 47
471ce96afe Remove the xcrun checker for Swift.
A better third-party checker is included in Kevin Ballard's plugin
[vim-swift](https://github.com/kballard/vim-swift).
2015-02-20 22:15:09 +02:00
LCD 47
d73546dd4a Java checker: more path fixes. 2015-02-20 16:15:44 +02:00
LCD 47
cf4e18d3f7 Java checker: fix path detection. 2015-02-20 09:47:43 +02:00
LCD 47
4782184020 Security: disable the swift/xcrun checker by default.
The checker executes the code in your files. This is probably fine if
you wrote the files yourself, but it can be a problem if you're trying
to check third party files. If you are 100% willing to let Vim run the
code in your files, set g:syntastic_enable_swift_xcrun_checker to 1 in
your vimrc.

Reference:

https://github.com/scrooloose/syntastic/issues/1326
2015-02-17 10:02:36 +02:00
LCD 47
372daff1a8 Reek checker: update.
Option "--quiet" is gone in reek 2.0.0.
Add return code checks.
2015-02-15 18:30:17 +02:00
LCD 47
157ad8d432 Minor cleanup. 2015-02-13 14:49:53 +02:00
LCD 47
a7841c869b Minor cleanup. 2015-02-13 11:56:09 +02:00
LCD 47
c1a2098954 New checker for JavaScript: standard. 2015-02-11 23:53:46 +02:00
Thijs van Dijk
0a310ca0ac Fix typo 2015-02-10 09:42:13 +01:00
LCD 47
3ea613f539 Xmllint: make "--xinclude" and "--postvalid" optional. 2015-02-09 18:34:26 +02:00
LCD 47
7d9aec0bee Prospector no longer accepts option "--external-config". 2015-02-05 16:37:50 +02:00
LCD 47
6b76c26cba Puppet checker: don't redirect stderr when checking version. 2015-01-31 12:38:13 +02:00
Tom Fogg
5cc56dbdeb missing comma in swift errorformat after cleanup 2015-01-31 08:47:03 +00:00
LCD 47
b9608e77be Xcrun: cleanup. 2015-01-31 08:12:23 +02:00
Tom Fogg
3e33785d8b add licence for swift syntax checker 2015-01-30 21:45:07 +00:00
Tom Fogg
a76370c14a add swift syntax checker support using xcrun 2015-01-30 15:09:31 +00:00
LCD 47
2d27fd93d0 Formatting: use the full name for execute. 2015-01-27 10:05:58 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
38f46b6ac8 A (hopefully) safer "rm -rf".
Also remove javac option g:syntastic_java_javac_temp_dir, as it's way to
easy to make it trigger a disaster.
2015-01-17 14:26:24 +02:00
LCD 47
5359f7f4e1 Python checker: new option g:syntastic_python_python_use_codec (@delfick).
The new option tells the checket to load the file in memory and look for
a comment line "# coding: <codec>".  If found, the named codec is used
to decode the file before checking.  This makes sense only if said codec
doesn't change the line numbers of the initial file.  An example of such
codec is "spec" provided by the "Nose of Yeti" library:

https://github.com/delfick/nose-of-yeti
2015-01-17 11:17:35 +02:00
LCD 47
4d1f2e23ef Go checker: even more contortions. 2015-01-15 18:06:46 +02:00
LCD 47
c60e440d00 Go checker: more contortions around "go_go_build_args" and "go_go_test_args". 2015-01-15 17:51:15 +02:00
LCD 47
8b97caa2d9 Rubocop: "--silent" was dropped in version 0.12. (@p0deje) 2015-01-14 13:28:03 +02:00
LCD 47
5429d24a59 Phpmd: fix broken regex used for syntax highlighting. 2015-01-12 13:20:52 +02:00
LCD 47
74a071331b Go checker should work with go_go_build_args unset. 2015-01-10 06:16:32 +02:00
LCD 47
be01caceb3 Phpcs: fix column handling.
Reference: http://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php#package.php.php-codesniffer.config-options.php-codesniffer.tab-width
2015-01-09 23:13:51 +02:00
LCD 47
a18ccb40df Go checker: extra arguments for "go build" and "go test". 2015-01-08 22:15:35 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
d97a43bfa1 Sparse checker: return code 1 is less meaningful these days. 2015-01-04 08:52:25 +02:00
LCD 47
b340672bd0 Typo: remove a spurious quote. 2014-12-16 13:04:18 +02:00
LCD 47
2bb8d59961 Luacheck: highlighting patterns for version 0.7.1. 2014-12-16 12:01:33 +02:00
LCD 47
30257ef239 Luacheck: cleanup. 2014-12-16 08:41:16 +02:00
Thiago Bastos
d2c454963d Add luacheck checker for Lua 2014-12-15 19:28:02 +00:00
LCD 47
21f052ab02 Go and govet checkers: make go executable configurable. 2014-12-11 12:38:10 +02:00
LCD 47
d422c6d825 Flow checker: cleanup. 2014-12-05 13:38:53 +02:00
Michael Robinson
9dc6b6108c Updated formatting as per guidelines 2014-12-05 15:54:16 +13:00
Michael Robinson
55b535618f Added flow checker for javascript 2014-12-05 15:46:21 +13:00
LCD 47
30b4ce3411 Validator and w3 checkers: tell curl to ignore curlrc. 2014-12-03 17:32:22 +02:00
Vincent Petithory
7f749fe35a make golint report warnings instead of errors 2014-11-22 01:57:27 +01:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +02:00
LCD 47
dbc7e39c13 Dartanalyzer can now return exit code 3. 2014-11-18 07:21:41 +02:00
LCD 47
4dba558288 Remove the avrgcc checker for Arduino.
According to #1173: "When the Arduino IDE compiles arduino files,
they're not just passed to avr-gcc -- there's some preprocessing that
happens".  This is the template problem, and syntastic doesn't have a
solution for it at this time.
2014-11-16 11:24:36 +02:00
LCD 47
ec2b84b125 Reek checker: cleanup. 2014-11-16 10:58:19 +02:00
Mindaugas Mozūras
36bb32f88d Ruby: add reek style checker 2014-11-15 19:16:17 +02:00
LCD 47
de5e025ef0 Scss-lint: syntax errors should have subtype syntax (@sds). 2014-11-11 07:34:09 +02:00
LCD 47
ba7d1b40bf Clisp: workaround to remove ciompiled files. 2014-11-09 21:02:38 +02:00
LCD 47
c307dde8c2 ghc-mod: the pylint way of handling versions is way cool, man. 2014-11-03 20:40:44 +02:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
ba1b4606e7 Prospector: sort loclist. 2014-10-22 10:21:53 +03:00
LCD 47
dd1560862c Prospector: version 0.7 can check individual files. 2014-10-22 10:04:35 +03:00
LCD 47
3fe6f2a842 Prospector: fix typos; add logging; better return checking. 2014-10-22 09:39:56 +03:00
LCD 47
72a7cb3898 New checker for python: prospector. 2014-10-21 16:37:33 +03:00
LCD 47
77c125170a Bashate: cleanup. 2014-10-17 19:41:53 +03:00
LCD 47
d155904388 Merge remote-tracking branch 'aswna/add_bashate' 2014-10-17 19:11:10 +03:00
LCD 47
4e9e08b509 Change case for constants' names.
Avoid poluting saved sessions when &sessionoptions contains "globals".
2014-10-17 10:28:05 +03:00
LCD 47
f180e28a38 Closurecompiler: allow running througha shell script (@bjpbakker). 2014-10-17 08:56:10 +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
d665fbf564 Solve chicken-and-egg problem with getting ghc-mod version. 2014-10-09 09:06:54 +03:00
LCD 47
aab197fb5a Formating. 2014-10-08 09:55:30 +03:00
LCD 47
dce7234fd6 Merge remote-tracking branch 'remko/rnc-rnv' 2014-10-08 09:39:40 +03:00
LCD 47
4a0d88ad7a Cleanup. 2014-10-08 09:35:57 +03:00
Remko Tronçon
7829ea2b35 rnc-rnv: Change license to WTFPL 2014-10-08 08:33:24 +02:00
Remko Tronçon
fe8054d2f4 Add RelaxNG (RNC) RNV checker 2014-10-07 22:35:55 +02:00
LCD 47
40776864c0 New checker for DocBook SGML, mdoc, and text: igor. 2014-10-07 21:04:51 +03:00
LCD 47
0e9ef6ec10 Eruby: fix logging. 2014-10-07 20:49:02 +03:00
LCD 47
83d0d7fef4 Pylint: remove leftovers from the logging patch. 2014-10-06 22:23:10 +03: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
LCD 47
acd02f61b2 Markdown lint: cleanup. 2014-10-06 19:16:05 +03:00
LCD 47
3a355fa4d1 Vim's filetype for Markdown is "markdown". 2014-10-06 19:09:25 +03:00
Charles A. Beynon
a188d3ae6f combine improperly separated checkers 2014-10-06 10:52:08 -04:00
Charles A. Beynon
a7e002cf4d Markdown: Added initial version of Markdown checkers 2014-10-06 10:52:08 -04:00
LCD 47
a3cf0cb65c Bro: minor errorformat fix, and highlighting. 2014-10-06 14:40:11 +03:00
LCD 47
7246fac6c0 Better handling of temporary directories.
New function syntastic#util#rmrf(), inspired by Marc Weber.  Cleanup.
2014-10-02 20:05:01 +03:00
LCD 47
2a077c90c4 Typo. 2014-10-02 13:06:50 +03:00
LCD 47
f56742a48d Safer handling of temporary directories. 2014-10-02 10:05:24 +03:00
LCD 47
aa3db4513e Mypy: cleanup. 2014-09-28 11:28:26 +03:00
Russ Hewgill
d9178ba4ce Added mypy syntax plugin 2014-09-27 19:35:51 -07:00
LCD 47
0bfc328b0c The handlebars checker needs "guards". 2014-09-26 18:20:29 +03:00
LCD 47
aea9647033 New checker for Linux RPM spec files: rpmlint. 2014-09-26 15:39:56 +03:00
LCD 47
ba6db9f16e New checker for Scala: scalastyle. 2014-09-26 15:09:03 +03:00
LCD 47
fe6003c3be Checkstyle checker: cleanup. 2014-09-26 15:02:11 +03:00
LCD 47
2a88120b33 More grouping in errorformat. 2014-09-25 08:18:07 +03:00
LCD 47
2f77684076 Puppet: the "future" parser outputs column numbers. 2014-09-24 22:03:15 +03:00
LCD 47
b8ca57de46 Puppet: fix errorformat. 2014-09-24 21:32:29 +03:00
LCD 47
fa0290c556 PC-Lint: mark informational messages as "Style". 2014-09-19 11:30:31 +03:00
LCD 47
9321bc79ed PC-Lint: add column numbers. Cleanup. 2014-09-19 10:33:56 +03:00
LCD 47
4f0fc20a17 Minor cleanup for text filetype.
- No default checker for text filetype.
- Checker `atdtool` needs sorting.
- Filetype `mail` is now an alias to `text`.
2014-09-19 08:25:53 +03:00
LCD 47
d751d17ef1 PC-Lint: cleanup. 2014-09-18 08:35:43 +03:00
LCD 47
3476e4f1d2 Merge remote-tracking branch '2sb18/pc_lint' 2014-09-18 08:13:48 +03:00
Steve Bragg
19ee867129 - pc_lint seems to be working well now. 2014-09-17 16:53:02 -04:00
Steve Bragg
7f08cdde67 working on pc_lint checker 2014-09-17 11:50:32 -04:00
LCD 47
18a7a9ff59 Pylint checker: more versioning delirium. 2014-09-16 18:31:57 +03:00
LCD 47
5c21c4d7f2 Bug fix: grouping in errorformat.
\(...\) can't be used in errorformat; use non-catching \%(...\) instead.
Add \m to patterns that use grouping.
2014-09-16 18:12:50 +03:00
Ranko Radonić
e79015b0a7 enable warnings for eruby files 2014-09-16 13:12:41 +02:00
LCD 47
e8afec0117 SASS checker: fix errorformat. 2014-09-16 06:58:46 +03:00
Russ Garrett
d624e32b9e Erlang: correctly handle additional LibDirs
The compile function expects a list of paths in the LibDirs parameter,
however when calling erlang_check_file.erl with an additional path (for
example when using the "g:syntastic_erlc_include_path" option), a
string would be passed instead. Because strings in Erlang are lists,
each character of the string would have been interpreted as a lib path.
2014-09-10 12:07:10 +01:00
LCD 47
83b6d6a587 The php checkers needs "guards" postprocessing. 2014-09-04 13:23:48 +03:00
LCD 47
4aadf589be New postprocess function: guards.
The new function ensures line numbers in loclists are not beyond end of
buffer.  The implementation is very inefficient, because it loads all
buffers in memory.

`eslint` and `lessc` checkers need this function.
2014-09-04 12:56:09 +03:00
Tomer Chachamu
82b2d3172c Bug fix: highlighting on python frosted checker 2014-09-03 18:35:19 +01:00
Ahmad Sherif
c55384c0ec Transform code using pmod_pt module before checking
Helps suppressing the error "parameterized modules are no longer supported" which libraries like ChicagoBoss depend on.
2014-09-01 17:53:16 +03:00
LCD 47
18a185be78 PHPLint: fix syntax highlighting. 2014-08-28 10:25:38 +03:00
LCD 47
0be8cdd631 New checker for PHP: PHPLint. 2014-08-28 09:56:13 +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
9fb7b0d397 SCSS-Lint: new error codes. 2014-08-26 16:59:52 +03:00
LCD 47
4cda4c3e0a Clang tools: check exit codes. 2014-08-22 07:43:41 +03:00
LCD 47
825b29a9be Clang tools: missing space. 2014-08-22 00:11:42 +03:00
LCD 47
0092326525 Clang tools: work without a compilation database. Cleanup. 2014-08-21 18:16:22 +03:00
LCD 47
8e3482b9f8 Merge remote-tracking branch 'bbanier/t/clang_tools' into clang_tools 2014-08-20 16:28:28 +03:00
LCD 47
e62fe0e6ed Allow oclint to use cmake compilation databases. 2014-08-19 08:04:24 +03:00
Dominick Twitty
e6bf829beb Fix bad variable initialization
Previously, non-core users could not use ocamlc as their syntax checker because this check would reset the wrong variable. 
Setting g:syntastic_ocaml_use_ocamlc without core now works as intended.
2014-08-16 22:27:34 -07:00
Benjamin Bannier
d280dc78ea Add new clang-tidy and clang-check checkers
These checkers use an existing compilation database so that the actual
flags used in the compile are used in the check.
2014-08-16 16:37:38 +02:00
LCD 47
a27b435a13 OClint: slightly more robust regexps. 2014-08-15 08:43:41 +03:00
LCD 47
1fac6011ef OClint: fix parsing. 2014-08-15 08:23:49 +03:00
Néstor Salceda
5c48b30c5f Fixes duplicate syntax checker for arduino files 2014-08-02 13:34:27 +02:00
LCD 47
c2e7bf29c9 Escript: parseShebang() is more capable these days. 2014-07-31 16:40:34 +03:00
LCD 47
1d19dff701 Security: disable the elixir checker by default.
This executes the code your files. This is probably fine if you wrote
the files yourself, but it can be a problem if you're trying to check
third party files. If you are 100% willing to let Vim run the code in
your files, set g:syntastic_enable_elixir_checker to 1 in your vimrc.

References:

https://groups.google.com/d/msg/elixir-lang-talk/B29noPHvQ-8/9JvSGPop7n0J
2014-07-16 18:39:52 +03:00
LCD 47
6c88bae55d JSHint checker: sort results. 2014-07-15 18:53:22 +03:00
LCD 47
b222a31d57 Typo. 2014-07-15 17:30:45 +03:00
LCD 47
e54f28e338 New redirect checker for arduino: avrgcc. 2014-07-15 09:33:31 +03:00
LCD 47
af49886446 Vimlint: add g:syntastic_vimlint_options. 2014-07-11 15:48:37 +03:00
LCD 47
4c5ff42723 New option for SyntasticMake(): env.
Setting environment variables by prefixing commands with 'VARIABLE=value'
doesn't work under csh.  Solution: let Vim set the environment variables.
2014-07-07 19:04:22 +03:00
LCD 47
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03: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
bd7e34757d R lint and svtools: fix CWD for Windows.
On Windows R is run with CWD set to the directory used at install time,
rather than the current directory.  The official workaround for this is
to add links to R from the home directories of each of your projects.
We can't do that in Vim, but we can call `setwd()` to Vim's idea of
current directory.  This mimics the behaviour of R on UNIX.
2014-06-14 06:53:50 +03:00
LCD 47
1383c0f50a Remove the rustc checket for Rust.
Between #947, #1114, and #1112, this checker is too controversial to
maintain in syntastic.  Please consider using it as an external checker
if you need it:

https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide#external
2014-06-12 23:42:54 +03:00
LCD 47
c33303105b rustc: make arguments configurable. 2014-06-12 22:36:05 +03:00
LCD 47
4004c021af ruby-lint: typo. 2014-06-06 21:20:31 +03:00
LCD 47
98b64fd7b9 ruby-lint: add version check for "analyze". 2014-06-06 18:55:41 +03:00
Yorick Peterse
b61fc8af05 ruby-lint: removed analyze sub-command
Starting with ruby-lint 2.0 the "analyze" sub command no longer exists.
2014-06-06 17:11:04 +02:00
LCD 47
3e8637ec49 New checker for sass and scss: sassc. 2014-06-05 00:23:01 +03:00
LCD 47
e058be3d01 Registry optimisation: lazy IsAvailable() calls. 2014-06-04 19:34:12 +03:00
LCD 47
284655357b Cabal checker: cleanup. 2014-05-31 11:52:52 +03:00
LCD 47
cc72b0dc66 Rename cabal/check --> cabal/cabal. 2014-05-31 11:19:33 +03:00
Ian D. Bollinger
02d9f710fb Add syntax checker for Haskell .cabal files
The syntax checker uses the `cabal check` command to check Haskell
Cabal package descriptions for syntax errors and other potential
problems. Currently, the `cabal check` command does not take a file
argument, so the current working directory must be changed to that
of the package description's before `cabal` can be executed.
Additionally, `cabal check` only issues line numbers for parse errors,
so warnings are arbitrarily assigned to line 1.
2014-05-31 01:23:50 -04:00
LCD 47
101a32bb2f coffeelint: option --csv is deprecated (@greenify). 2014-05-29 12:09:17 +03:00
LCD 47
45a36bf2fc eslint: honour the exec parameter. 2014-05-10 22:29:15 +03:00
LCD 47
716038ea46 Output of pep257 has changed.
Fix errorformat.
Make compressWhitespace() postprocess function remove leading and
trailing spaces.
Typo in the manual.
2014-05-10 18:47:50 +03:00
LCD 47
e7d1519f55 Cleanup for bro. 2014-05-09 11:54:59 +03:00
LCD 47
6ea7796730 Merge remote-tracking branch 'JustinAzoff/bro' 2014-05-09 11:47:44 +03:00
LCD 47
653a02a4c1 Some versions of phcs produce an extra column: fix errorformat. 2014-05-07 20:53:02 +03:00
LCD 47
43e8cb955e More clisp fixes.
Give up trying to persuade clisp not leave behind junk files.
Fix errorformat.
2014-05-03 11:45:02 +03:00
LCD 47
24eab03135 clisp: fix argument order. 2014-05-02 21:04:09 +03:00
LCD 47
ad991127a6 New checker for less and css: recess (@pixelastic). 2014-04-30 10:27:01 +03:00
LCD 47
2a770da3a0 GitHub has changed the addresses for user content. 2014-04-26 10:05:02 +03:00
Paul Harper
9facbb77cc fixup 2014-04-25 14:52:54 -07:00
Paul Harper
748046277f Added an errorformat for eslint's warning messages 2014-04-25 14:50:56 -07:00
witchard
0ae26fd228 Updated argument ordering for ghdl.
User specified options for ghdl should sit after the '-s' mode setting. This resolves #1059.
2014-04-23 20:03:33 +01:00
LCD 47
4b00bf5b2e Python checkers: workaround for GNU readline brain damage.
On terms that support smm / rmm (f.i. xterm), initializing readline
prints the smm sequence, regardless of whether stdout is a terminal or
not, which in turn can make checkers' output unparseable.

Workaround: set TERM to dumb before calling the checkers.
2014-04-23 21:16:41 +03:00
LCD 47
3c07df5dfc Cleanup: lock some variables. 2014-04-23 14:45:21 +03:00
LCD 47
125442f178 tslint: cleanup. 2014-04-21 13:07:39 +03:00
LCD 47
eaa899a02c Merge remote-tracking branch 'swook/master' 2014-04-21 13:04:23 +03:00
LCD 47
54bb9b4b8b haxe and dartanalyzer: fix syntax highlighting. 2014-04-21 08:41:44 +03:00
Seon-Wook Park
b9ee439893 tslint: A basic checker configuration 2014-04-19 19:22:44 +02:00
LCD 47
618b41428b Merge remote-tracking branch 'cww/master' 2014-04-19 10:14:05 +03:00
LCD 47
ebbcdd0c1a Cleanup for java/javac. 2014-04-19 10:03:53 +03:00
Colin Wetherbee
b1b16500af javac: Allow users to specify Maven options 2014-04-17 17:42:27 -04:00
LCD 47
99cbe5d011 HTML Tidy: add a note about HTML Tidy for HTML5.
Some people seem to find it easier to look at the sources than read the wiki,
so mention HTML Tidy for HTML5 here, too. :)
2014-04-17 23:08:22 +03:00
LCD 47
68131a7679 Bug fix: error sorting.
Error sorting can't be done as a postprocess function called from
SyntasticMake(), since the final values of some relevant fields (f.i.
type) might not be known yet at that point.  Solution: move sorting to
getLocListRaw(), after per-checker quiet_messages.  New checker methods
getWantSort() / setWantSort() are needed.

Second problem: some checkers return screen columns mixed with byte
indices.  Solution: compute screen columns as needed.  Sadly, everything
about working with screen columns is fragile.
2014-04-16 22:16:40 +03:00
LCD 47
b4320f19dd oclint: option "-text" is obsolete. 2014-04-16 00:15:46 +03:00
LCD 47
4c18240e8d Formatting. 2014-04-15 09:09:37 +03:00
LCD 47
f161992c11 vimlint: a more efficient IsAvailable(). 2014-04-14 09:06:52 +03:00
LCD 47
41edfe34c7 New checker for plist XML: plutil. 2014-04-13 19:59:54 +03:00
LCD 47
9cf21436ce New checker for haskell: scan. 2014-04-10 09:59:36 +03:00
LCD 47
62fde00516 Hdevtools: fix column calculations. Cleanup. 2014-04-10 09:45:11 +03:00
LCD 47
841087faba Hlint: fix column calculations. 2014-04-10 09:00:13 +03:00
Daniel Trstenjak
7bd9b98342 Always give absolute paths to syntax checkers 'hdevtools' and 'hlint'
Especially for 'hdevtools' this results into a more robust behaviour,
because 'hdevtools' starts a background process and changing the
current directory doesn't affect the current directory of the background
process.
2014-04-05 15:47:20 +02:00
LCD 047
9aa1a19699 Merge pull request #1044 from riobard/fix/jsxhint
jsxhint can be used independently.
2014-04-05 11:35:13 +03:00
LCD 47
2a1e0948b6 R svtools: disable the checker by default, for security reasons. 2014-04-05 09:16:04 +03:00
LCD 47
e7662b9469 New checker for R: svtools. 2014-04-05 09:15:53 +03:00
LCD 47
6ad57016c1 New checker for R: lint. 2014-04-05 09:15:10 +03:00
Riobard
d2c0d4d83e jsxhint can be used independently.
jsxhint uses its own jshint dep and does not require jshint to be
system-wide available. Removed the check for `jshint`.
2014-04-05 03:38:08 -02:30
Justin Azoff
668a08bfa7 Add new checker for bro: bro.
This requires the new --parse-only cli option that will be in an
upcoming bro release.
2014-03-27 17:55:09 -04:00
LCD 47
0c557bfca6 jshint: require version 1.0.0 or later. 2014-03-25 19:59:50 +02:00
LCD 47
a781914a16 Yet more pylint versioning delirium. 2014-03-24 15:03:50 +02:00
LCD 47
f6d584bc63 splint: add errorformat sequences for Windows. 2014-03-23 06:25:59 +02:00
LCD 47
4ded4f4047 Expand a few config parameters. 2014-03-20 07:18:30 +02:00
LCD 47
c8f562f0f2 ESLint: add version check; expand config parameter. 2014-03-20 06:44:01 +02:00
Aaron Malone
9b1c2aa058 fix javascript/eslint format 2014-03-19 17:45:45 -05:00
LCD 47
da6520c69f \V<pattern> regexps can spell trouble if <pattern> contains backslashes. 2014-03-09 22:21:29 +02:00
Radek Szymczyszyn
1fcb6b89b5 Don't forget about ebin/ 2014-03-05 19:44:43 +01:00
Radek Szymczyszyn
2286363adb Properly add deps/*/include to header file path 2014-03-05 19:34:56 +01:00
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