Commit Graph

928 Commits

Author SHA1 Message Date
LCD 47
07f2745eb4 Manual: rephrase description of check_on_wq. 2015-07-24 08:18:14 +03:00
LCD 47
d26c7f78c1 Bug fix: passive mode UI problem; autocmd cleanup.
Calling write in passive mode triggered a refresh, which could result in
loclist ghosting.

Unrelated: allow for nested autocmds in BufReadPost and BufWritePost, so
that checkers can read and write files from their own autocmds.
2015-07-23 14:24:04 +03:00
LCD 47
a6012f2b4c Move floating point functions to autoload. 2015-07-21 10:01:28 +03:00
LCD 47
bcb4ca6e71 Safety net for enable_*_checker variables. 2015-07-20 07:41:35 +03:00
LCD 47
6929f24e45 Flog checker: cleanup. 2015-07-19 18:33:36 +03:00
LCD 47
76ec53f186 Sqlint checker now returns 1 when it detects errors. 2015-07-17 00:37:16 +03:00
LCD 47
1dde81a68f There is no such thing as has('iconv/dyn'). 2015-07-16 15:12:12 +03:00
LCD 47
d353962861 Sqlint checker: add highlighting function. 2015-07-16 09:53:06 +03:00
LCD 47
1e475a7df5 Sqlint checker: cleanup. 2015-07-16 09:05:19 +03:00
LCD 47
ffcf625fcb Minor cleanup. 2015-07-15 07:24:38 +03:00
LCD 47
c44cb15c42 Cleanup: JSON decoding. 2015-07-15 06:38:00 +03:00
LCD 47
eba7ae6d64 Debug: add indicator for modified shell-related options. 2015-07-13 00:02:19 +03:00
LCD 47
83829b766e Minor bug fix. 2015-07-11 23:48:46 +03:00
LCD 47
74fd7e6b92 Show chacker output when whining that we can't parse version string. 2015-07-10 20:14:23 +03:00
LCD 47
2e60dd4af9 Manual: add a note about Tim Pope's "flagship". 2015-07-10 11:24:24 +03:00
LCD 47
59513edd47 Manual: fix the notice about rvm. 2015-07-09 18:42:02 +03:00
LCD 47
a596ef38bd Gfortran checker: fix errorformat for gfortran 5. 2015-07-05 07:11:01 +03:00
LCD 47
b1b79009e3 Manual: Fix filetype_map example. 2015-07-02 19:44:04 +03:00
LCD 47
4708cdd122 Add a mechanism for handling checkers disabled for security. 2015-07-01 10:56:09 +03:00
LCD 47
d75f3e5e8e Buffer-local security guards for perl/perl, elixirelixir, and r/svtools. 2015-07-01 01:22:41 +03:00
LCD 47
8e672780e7 Show checker output along with "checker returned abnormal status". 2015-06-26 08:01:20 +03:00
LCD 47
31cba018b3 Safety net: avoid suffixesadd interfering with findfile(). 2015-06-26 07:28:50 +03:00
LCD 47
176e32ca4d Cleanup. 2015-06-26 07:01:05 +03:00
LCD 47
c9fc0d41e7 Checker javac: _really_ fix shell escaping in custom_classpath_command. 2015-06-25 23:21:47 +03:00
LCD 47
dc15fa08c5 Checker javac: fix shell escaping in custom_classpath_command. 2015-06-25 19:09:46 +03:00
LCD 47
c39563d95b Checker javac: cleanup. 2015-06-25 16:27:58 +03:00
LCD 47
dbb28cd847 Ada checker: disable generation of intermediate files. 2015-06-25 10:59:00 +03:00
LCD 47
131ec84e61 New checker for reStructuredText: sphinx. 2015-06-24 11:00:58 +03:00
LCD 47
e46c64701c Bug fix: more findfile() fun. 2015-06-23 13:55:22 +03:00
LCD 47
a728268d73 Bug fix: finding files in parent directories.
Checkers pc_lint, javac, flow, C compilers: findfile() should start in
the current file's base directory rather than the current directory.

Elixir checker: use the more efficient findfile() instead of
syntastic#util#findInParent().
2015-06-22 23:10:20 +03:00
LCD 47
98e79d85f0 Nix checker: cleanup. 2015-06-20 12:32:55 +03:00
Tim Cuthbertson
c840655d13 Add support for .nix files 2015-06-20 19:06:53 +10:00
LCD 47
b609b3bdd3 Checker ghc-mod: attempt to fix filename encodings.
ghc-mod will always use UTF-8 encoding on output, regardless of the
current encoding.  This is a problem for syntastic because it mangles
the filenames.  The commit below is a (perhaps misguided) attempt to
fix that, by calling iconv() to re-encode output from ghc-mod to Vim's
encoding.
2015-06-18 13:27:41 +03:00
LCD 47
b8682c3029 Merge remote-tracking branch 'origin/pr/1447' 2015-06-12 13:29:56 +03:00
LCD 47
cb9424c9ec README: formatting. 2015-06-04 10:27:22 +03:00
LCD 47
0470fff0c5 Checker python/pylama: add option "--force". 2015-06-03 08:13:50 +03:00
LCD 47
e15ebd3367 Go checker: no longer attempt to redirect output of "go build".
Running "go build -o /dev/null" in a main package that lives in GOPATH
produces an error message:

build output "/dev/null" already exists and is not an object file

This issue won't be addressed on the Go side:

http://code.google.com/p/go/issues/detail?id=4851
https://github.com/golang/go/issues/4851

Consequently, syntastic leaves this to the user to resolve.  Set
g:syntastic_go_go_build_args to something including "-o /some/dir"
to redirect the output of "go build".
2015-06-03 07:42:19 +03:00
LCD 47
5c6e78a271 README: suggest a safer cabbrev in FAQ. 2015-05-29 20:36:23 +03:00
LCD 47
25ad02e12d README: add a link to the vim-eastwood plugin. 2015-05-20 10:39:51 +03:00
LCD 47
981196fdc3 Flow checker: use the "status" command. 2015-05-19 23:01:39 +03:00
LCD 47
ae405fed8d Manual: add a note about zsh and rvm with MacVim. 2015-05-14 09:49:57 +03:00
LCD 47
5dba05af4f Bashate: make errorformat more permissive. 2015-05-09 12:25:58 +03:00
LCD 47
48b75c455a Tslint is a style checker. 2015-05-09 07:27:20 +03:00
LCD 47
a8771fe6b7 Puppet-lint checker: --log-format now expects %{line}. 2015-05-06 16:14:58 +03:00
LCD 47
24bb293574 Minor comment fix. 2015-05-03 19:59:35 +03:00
LCD 47
4605886ea7 Safer opening of the error window (@blueyed). 2015-05-03 19:45:24 +03:00
LCD 47
3a30321fd0 Fix loclist timestamps for refresh (@blueyed). 2015-05-03 19:26:56 +03:00
LCD 47
9af644dace Remove comments from the tidy checker.
This is supposed to encourage people to go to the wiki when looking for
user-level documentation.  It also removes outdated links.
2015-04-24 23:40:17 +03:00
LCD 47
4fbe5f52c7 Flow checker: recover from negative end offsets. 2015-04-22 08:25:04 +03:00
LCD 47
48090a19f2 Updates to the manual.
Update section about powerline.
Remove section about vim-airline (it now works out of the box).
2015-04-17 13:28:54 +03:00
LCD 47
b152ac3db3 The gfortran checker now supports Intel Fortran.
It's now possible to set g:syntastic_fortran_compiler to 'ifort' to use
Intel Fortran instead of GNU Fortran.
2015-04-15 14:29:40 +03:00
LCD 47
80c5a047c0 Bug fix: b:cflags again. 2015-04-15 12:54:07 +03:00
LCD 47
2cf32d7be3 Bug fix: b:cflags applies only to C and C++ checkers. 2015-04-14 10:53:30 +03:00
LCD 47
fe436371b4 Checker tsc: version 1.5 has option "--noEmit". 2015-04-11 14:31:52 +03:00
Brandon Burnett
a17db15e7d In some cases vim will set the filetype of *.pp files to 'pe-puppet' instead of 'puppet'. There is no functional difference so lets map 'pe-puppet' to 'puppet' so we can use the same default checkers. 2015-04-06 19:13:57 +00:00
Scott Stevenson
710a854f6a Remove shellcheck checker for zsh
zsh support has been removed from ShellCheck as of
[v0.3.6](https://github.com/koalaman/shellcheck/releases/tag/v0.3.6).
2015-04-02 22:20:10 +01:00
LCD 47
ebfba7ec3d Puppet-lint no longer requires puppet. 2015-04-01 08:55:08 +03:00
LCD 47
2337c65b37 Keep track of b:changedtick. 2015-03-30 13:44:07 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
ac96ae4a27 Manual: add notes about powerline, vim-airline, and vim-go. 2015-03-23 08:23:30 +02:00
LCD 47
ebadf9aff5 Windows brain damage: executable('foo') doesn't mean 'foo' is executable. 2015-03-19 18:09:35 +02:00
LCD 47
b905f6d08a Mercury checker: cleanup. 2015-03-19 08:33:54 +02:00
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
LCD 47
e34f421b39 Revert 1e3e0a8. The problem was placing signs on unloaded buffers. 2014-07-17 16:59:22 +03:00
LCD 47
190d9f5e95 Manual: add a note about canceling default arguments. 2014-07-17 07:26:03 +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
1e3e0a8254 Defensive coding against stepping over other plugins' signs. 2014-07-16 09:34:27 +03:00
LCD 47
6c88bae55d JSHint checker: sort results. 2014-07-15 18:53:22 +03:00
LCD 47
5eb22bb0a3 Refresh optimisations: avoid floats.
The price for this is the assumption reltime() returns a list of
integers [high, low].
2014-07-15 18:13:59 +03:00
LCD 47
b222a31d57 Typo. 2014-07-15 17:30:45 +03:00
LCD 47
0f8d786b84 Check for +float. 2014-07-15 16:55:33 +03:00
LCD 47
9a26f1d585 SyntasticInfo: minor bug fix. 2014-07-15 15:09:02 +03:00
LCD 47
13bdf9e4bd SyntasticInfo: more details about modes. Minor cleanup. 2014-07-15 12:43:53 +03:00
LCD 47
e54f28e338 New redirect checker for arduino: avrgcc. 2014-07-15 09:33:31 +03:00
LCD 47
7b0d3f868c Don't check compressed files. 2014-07-13 22:43:57 +03:00
LCD 47
d364f33a53 Refresh optimisations. 2014-07-13 21:10:46 +03:00
LCD 47
572d3e0ebc README: nit pick about re-enabling the perl checker. 2014-07-11 18:23:00 +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
c325f6c815 Make syntastic#util#parseShebang() aware of /usr/bin/env. 2014-07-06 18:18:43 +03:00
LCD 47
dd57547da0 Manual: add a note about netrw. 2014-07-04 23:12:12 +03:00
LCD 47
1ee4bcccc7 Error highlighting cleanup. 2014-06-30 14:45:30 +03:00
LCD 47
0bef7ef3f6 Bug fix: refresh notifiers in BufEnter, rather than BufWinEnter. 2014-06-27 22:34:44 +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
3ebdeabf63 Add a note about rustc's new home. 2014-06-17 08:35:29 +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
dd5ca1f788 Add a note about the removal of the rustc checker. 2014-06-13 00:23:10 +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
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
LCD 47
101a32bb2f coffeelint: option --csv is deprecated (@greenify). 2014-05-29 12:09:17 +03:00
LCD 47
b6a42d1871 Vim no longer allows setting signs on line 0. 2014-05-28 10:08:48 +03:00
LCD 47
576b84e2b7 Update installation instructions.
Update pathogen's address.
Change ; to && to stop early in case of error (@koalaman).
2014-05-27 11:40:15 +03:00
LCD 47
50518b335d Add separate highlighting groups for style messages (@kovidgoyal). 2014-05-11 20:34:32 +03:00
LCD 47
45a36bf2fc eslint: honour the exec parameter. 2014-05-10 22:29:15 +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
02d07313aa Merge branch 'multi' 2014-05-06 11:14:50 +03:00
LCD 47
8c1c13e94e Contributing guide: add TOC; formatting. 2014-05-04 14:09:47 +03:00
LCD 47
dc02d66648 Update the contributing guide. Make :SyntasticInfo print version. 2014-05-04 13:58:25 +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
b9f741e57c Attempt at making multiple buffers work properly.
Propagate b:syntastic_loclist to all buffers mentioned in loclists.

Try to prevent inadvertent closing of the loclist window if all errors
are in included files, by saving the main buffer owner as a variable
local to the quicklist buffer.
2014-04-29 14:31:43 +03:00
LCD 47
75c439fc24 Manual: add a note about PowerShell. 2014-04-27 20:12:04 +03:00
LCD 47
2a770da3a0 GitHub has changed the addresses for user content. 2014-04-26 10:05:02 +03:00
LCD 47
9d4b173493 README: minor update.
The official way to install pathogen has changes slightly.
Add a link to the syntax checker guide.
2014-04-26 08:09:03 +03: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
02cbebdfab Cleanup: fix two vimlint warnings. 2014-04-22 21:58:32 +03:00
LCD 47
125442f178 tslint: cleanup. 2014-04-21 13:07:39 +03:00
LCD 47
54bb9b4b8b haxe and dartanalyzer: fix syntax highlighting. 2014-04-21 08:41:44 +03: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
LCD 47
177292cafa Cleanup for the new aggregate_errors. 2014-04-19 09:09:48 +03: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
4dbb652763 New option: syntastic_sort_aggregated_errors.
Aggregated error lists are now sorted by default.
2014-04-17 22:09:12 +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
29843ed7fb Minor cleanup. 2014-04-14 12:08:27 +03:00
LCD 47
f161992c11 vimlint: a more efficient IsAvailable(). 2014-04-14 09:06:52 +03:00
LCD 47
4b9e87499d README: clarifications for calling multiple checkers. 2014-04-14 08:43:12 +03:00
LCD 47
41edfe34c7 New checker for plist XML: plutil. 2014-04-13 19:59:54 +03:00
LCD 47
81313611ae Manual: minor cleanup. 2014-04-10 10:56:20 +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
LCD 47
30198e1091 Manual: add a note about vim-virtualenv. 2014-04-09 21:17:38 +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
LCD 47
6d05d1735a README: add anchors for FAQ items. 2014-04-02 22:47:09 +03:00
LCD 47
a62fc9eeba README: minor update. 2014-04-02 21:32:34 +03:00
LCD 47
82bff20b02 README: change address for YouCompleteMe. 2014-03-30 21:11:39 +03:00
LCD 47
8d2ac06820 Minor rephrase in the manual. 2014-03-30 21:10:20 +03:00
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
94e0e73c4e Add a note to the manual about Eclim. 2014-03-20 07:34:49 +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
LCD 47
dc6bb11215 Bump version number. 2014-03-10 15:54:00 +02:00
LCD 47
2850d4145a Minor cleanup. 2014-03-10 15:50:58 +02:00