Commit Graph

716 Commits

Author SHA1 Message Date
LCD 47
84add5b7f9 Checkers using curl(1): allow redirections.
Unrelated: the main URL for validator's API is now HTTPS.
2015-03-15 19:43:50 +02:00
LCD 47
7b8526b966 Flow checker: bail out if there is no .flowconfig. 2015-03-15 07:30:50 +02:00
LCD 47
5b0d3dc8bc README: rephrase. 2015-03-14 07:32:43 +02:00
LCD 47
da1ecc0bb8 FAQ: add a note about $PATH. 2015-03-14 07:29:06 +02:00
LCD 47
231a78f5de Manual: update.
Add a note about tcsh.
Add a note about &shellslash.
Re-order a few sections.
2015-03-13 15:07:54 +02:00
LCD 47
67fc031e04 Manual: fix examples to use g:syntastic_shell. 2015-03-12 20:31:36 +02:00
LCD 47
47eabae37d New global option: "shell".
Undocumented option "bash_hack" is gone.
New function syntastic#util#system(), that sets up the environment and
is now used consistently everywhere.
Unrelated fix for the elixir checker (syntax).
2015-03-12 19:20:06 +02:00
LCD 47
869c5a726d Camlp4o checker: better error highlighting. 2015-03-12 10:40:00 +02:00
LCD 47
48812d8333 Cleanup: exit codes are meaningless for checkers without exec. 2015-03-11 10:04:13 +02:00
LCD 47
c297fbebbd README: update address of tidy-html5. 2015-03-10 15:58:56 +02:00
LCD 47
69d20efc62 Elixir: handle warnings. 2015-03-09 07:50:40 +02:00
LCD 47
fe3a48f33e Ruby checkers: make warning flags configurable. 2015-03-08 08:27:28 +02:00
LCD 47
272fc7df3a Manual: update the note about vim-auto-save. 2015-03-02 13:28:49 +02:00
LCD 47
413cdb354e Flow checker: make exe configurable. 2015-03-02 13:14:40 +02:00
LCD 47
5214f00a17 New checker for API Blueprint: snowcrash. 2015-02-24 15:42:01 +02:00
LCD 47
a7758aa188 New checker for Vim: vint. 2015-02-23 17:52:09 +02:00
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
fc8f8e5006 RAEDME: minor rephrase. 2015-02-23 15:59:38 +02:00
LCD 47
2a07c4acd9 New checker for SML: smlnj. 2015-02-23 15:49:38 +02:00
LCD 47
c452935384 README: add a link syntastic-more. 2015-02-23 15:00:58 +02:00
LCD 47
399389c84e README: add links to a few third party checkers. 2015-02-23 14:33:29 +02:00
LCD 47
c233c9bbd5 README: update URL for the Rust checker. 2015-02-23 09:32:02 +02:00
LCD 47
f4b064e2de README: rephrase. 2015-02-23 09:06:01 +02:00
LCD 47
71aa71bc1b README: more details about enabling checkers. 2015-02-22 19:03:44 +02:00
LCD 47
bccfdea4e8 Handling redefinition of exec: minor optimisation. 2015-02-22 18:50:10 +02:00
LCD 47
8256e43510 Typo. 2015-02-20 22:20:24 +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
776d4175cd Handle redefinition of exec after the checker has run. 2015-02-19 11:43:35 +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
dde4a9be9c Formatting. 2015-02-13 11:05:04 +02:00
LCD 47
7cbb79b734 More detailed debug information. 2015-02-12 14:04:35 +02:00
LCD 47
c1a2098954 New checker for JavaScript: standard. 2015-02-11 23:53:46 +02: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
LCD 47
b69efd0723 README: Swift is now supported. 2015-01-31 08:39:31 +02:00
LCD 47
cf012bdea8 Version logging: minor cleanup. 2015-01-31 08:19:15 +02:00
LCD 47
b9608e77be Xcrun: cleanup. 2015-01-31 08:12:23 +02:00
Tom Fogg
46fc1ec684 Merge branch 'master' of https://github.com/scrooloose/syntastic 2015-01-30 21:45:38 +00:00
LCD 47
106c772b05 More detailed logging for version operations. 2015-01-30 19:40:32 +02: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
cb64516d4d Version handling: deal with errors. 2015-01-23 11:49:08 +02:00
LCD 47
1ba96436c1 Cleanup: handling versions. Minor optimisation. 2015-01-23 11:39:42 +02:00
LCD 47
36ead6d75c Bump version number. 2015-01-19 08:48:35 +02:00
LCD 47
2073cee050 More safety checks. 2015-01-17 16:37:56 +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
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
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
03f43ec55f Source uglification, part III.
Rename a few more things.  Because, you know, namespaces are overrated.
2014-12-15 09:06:34 +02:00
LCD 47
6de1559f33 Make SyntasticInfo aware of b:syntastic_mode. 2014-12-12 10:28:46 +02:00
LCD 47
f583df730d Minor optimisation. 2014-12-11 08:32:33 +02:00
LCD 47
9caf33d5d5 If auto_jump is set to 3, jump to the first error if any. 2014-12-11 00:31:00 +02:00
LCD 47
6fdd394388 New option: b:syntastic_mode. 2014-12-08 11:59:45 +02:00
LCD 47
0c1dd2aa01 Safer closing of the error window. 2014-12-08 11:14:17 +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
47834c0343 Slightly more meaningful messages for checkers disabled by Eclim and YCM. 2014-11-08 13:18:27 +02:00
LCD 47
412d3526ab Try to detect checkers disabled by YouCompleteMe. 2014-11-07 14:46:44 +02:00
LCD 47
7b6734546f Try to detect filetypes abducted by Eclim. 2014-11-07 14:09:51 +02:00
LCD 47
e4c94d67a9 First step towards exposing an API. 2014-11-04 08:42:08 +02:00
LCD 47
82ba62ce99 Minor cleanup: wrap the main commands in their own functions. 2014-11-03 20:12:21 +02:00
LCD 47
c4c56716fe More naming conventions. 2014-11-03 11:58:46 +02:00
LCD 47
83971066a1 Add legacy checker method setWantSort(). 2014-10-24 16:08:36 +03:00
LCD 47
57f1a0eb20 New user variables: syntastic_<filetype>_<checker>_sort. 2014-10-24 15:55:47 +03:00
LCD 47
71c9a7dd02 Don't run preprocess functions if checker returned an invalid code. 2014-10-22 09:16:31 +03:00
LCD 47
948202d042 Source uglification, part II.
The names from commit 4e9e08b conflict with &viminfo containing "!".
2014-10-17 18:53:53 +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
LCD 47
54086304b3 Cache balloons' contents. Cleanup. 2014-10-17 08:35:05 +03:00
LCD 47
7ed52d1e44 README: rephrase. 2014-10-16 15:18:54 +03:00
LCD 47
e9f930be05 README: expand the section about installation. 2014-10-16 12:09:10 +03:00
LCD 47
3d5d219522 SyntasticInfo: if the current file will not be checked, explain why. 2014-10-16 09:56:29 +03:00
LCD 47
75d56b2090 Manual: add a note about vim-auto-save. 2014-10-16 09:06:30 +03:00
LCD 47
008ac98299 Workaround for Vim changing the semantics of lockvar. 2014-10-09 22:41:51 +03:00
LCD 47
0bc8b2acb1 Don't change Vim's shell. 2014-10-09 11:58:07 +03:00
LCD 47
d665fbf564 Solve chicken-and-egg problem with getting ghc-mod version. 2014-10-09 09:06:54 +03:00
LCD 47
038f6ff8fb Disable bash_hack by default. 2014-10-09 08:20:09 +03:00
LCD 47
017d89a470 Minor autoload cleanup. 2014-10-08 11:46:56 +03:00
LCD 47
aab197fb5a Formating. 2014-10-08 09:55:30 +03:00
LCD 47
4a0d88ad7a Cleanup. 2014-10-08 09:35:57 +03: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
19f8859654 Filetype groff is actually nroff. 2014-10-07 13:47:56 +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
21a25649bb Markdown lint: vim-markdown sets filetype to mkd. 2014-10-06 21:59:20 +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
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
049718cc61 Bug fix: SyntasticToggleMode shouldn't trigger the checks. 2014-10-02 17:11:06 +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
1e1c7086e3 README: rephrase of a FAQ question. 2014-09-30 14:31:26 +03:00
LCD 47
aa3db4513e Mypy: cleanup. 2014-09-28 11:28:26 +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
dc4f036a6e Expand b:syntastic_<checker>_exec. 2014-09-24 11:18:55 +03:00
LCD 47
b639b007ae New options.
Add options b:syntastic_<filetype>_<checker>_exec and
b:syntastic_<checker>_exec.
2014-09-21 19:24:22 +03:00
LCD 47
cc33286605 FAQ: add a note about empty error windows. 2014-09-20 19:48:12 +03:00
LCD 47
6ce9bf9abd Clear loclist when running lolder at the bottom of the loclist stack.
This saves people some confusion when syntastic_always_populate_loc_list
is unset and they try to open the error window with :lopen or :lwindow.
2014-09-20 19:26:28 +03:00
LCD 47
bf2faa4d62 Manual: add a note about opening the error window. 2014-09-20 12:42: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
53a321d0b1 README: clarifications about style checkers. 2014-09-19 08:20:30 +03:00
LCD 47
d751d17ef1 PC-Lint: cleanup. 2014-09-18 08:35:43 +03:00
LCD 47
fb6747c013 Grammar. 2014-09-17 23:19:04 +03:00
LCD 47
9d2800f9a5 README: add a note about style checkers. Minor cleanup. 2014-09-17 20:22:28 +03: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
LCD 47
e8afec0117 SASS checker: fix errorformat. 2014-09-16 06:58:46 +03:00
LCD 47
aac0775c39 Make b:syntastic_skip_checks suitable for general use.
Document `b:syntastic_skip_checks`.  Minor cleanup.
2014-09-16 06:36:37 +03: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
LCD 47
b7b09af6b6 New global option syntastic_exit_checks.
Syntastic attempts to catch abnormal termination conditions from checkers by
looking at their exit codes. The "cmd.exe" shell on Windows make these checks
meaningless, by returning 1 to Vim when the checkers exit with non-zero codes.
The above variable can be used to disable exit code checks in syntastic.
2014-09-03 10:47:23 +03:00
LCD 47
0d0c4aa747 Bump version. 2014-09-01 18:38:06 +03:00
LCD 47
f88b5c74c9 Bump version number. 2014-08-28 23:37:11 +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
LCD 47
80db618c09 Cursor columns: fix redraw. 2014-08-28 09:18:07 +03:00
LCD 47
9fb7b0d397 SCSS-Lint: new error codes. 2014-08-26 16:59:52 +03:00
LCD 47
82b2745886 Don't assume loclists have vcol fields. 2014-08-25 06:30:21 +03:00
LCD 47
7b9b02954e README: typo. 2014-08-24 20:45:24 +03:00
LCD 47
4b7183b9dc README: add a note about Python 3. 2014-08-24 20:44:07 +03:00
LCD 47
8e229e41a3 A cleaner way to kill default variables. 2014-08-22 12:02:02 +03:00
LCD 47
e62fe0e6ed Allow oclint to use cmake compilation databases. 2014-08-19 08:04:24 +03: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
LCD 47
f62e0f6618 New option: cursor_columns. 2014-08-03 12:54:56 +03:00
LCD 47
c2e7bf29c9 Escript: parseShebang() is more capable these days. 2014-07-31 16:40:34 +03:00
LCD 47
e340796776 Bug fix: SyntasticReset didn't really reset. 2014-07-22 22:02:42 +03:00
LCD 47
d795d4b16a Bug fix: forgotten return. 2014-07-22 20:37:06 +03:00
LCD 47
09f35e9f2d Try to prevent g:syntastic_mode_map from being modified. 2014-07-22 13:25:28 +03:00
LCD 47
3f963543dd Manual: clarification about g:syntastic_mode_map. Minor cleanup. 2014-07-22 13:15:49 +03:00
LCD 47
95a57739eb More detailed logging. 2014-07-22 07:55:04 +03:00
LCD 47
c1479f980e Set default reuse_loc_lists to 0.
Recent Vim versions have a bug related to setloclist(0, list, 'r'):

https://groups.google.com/forum/#!topic/vim_dev/t4ei24iwkiY

Avoid replacing loclists until the problem is solved.
2014-07-20 21:32:29 +03:00
LCD 47
d603ed4f33 Make sure version lists are formed of numbers. 2014-07-20 21:23:01 +03:00