Joshua Rubin
3db525cac1
include test files by default. add error type.
2015-09-16 15:04:41 -06:00
Joshua Rubin
aca4d8ea40
add support for setting arguments on gometalinter
2015-09-16 14:26:34 -06:00
Joshua Rubin
f1f7deed33
use package instead of file
2015-09-16 14:12:06 -06:00
Joshua Rubin
61b7dbf9c2
add gometalinter syntax checker
2015-09-16 13:50:37 -06:00
Matvey Aksenov
8164240f6f
Hlint: handle hint file parsing errors.
...
When hints (including those in ANN pragmas in Haskell source) fail to
parse, Hlint uses a different error format.
2015-09-15 22:49:54 +03:00
LCD 47
be111259ec
js-yaml checker: update errorformat.
2015-09-09 22:17:47 +03:00
LCD 47
1be907716e
Javac checker: make checker-specific commands available at startup.
2015-09-06 19:39:17 +03:00
LCD 47
3fb986584a
Go checker: option "-buildmode=archive" is new in go 1.5.
2015-09-06 18:38:21 +03:00
LCD 47
703287c761
Checker jade_lint: cleanup.
2015-09-03 07:18:26 +03:00
Ben Parnell
b5883c80f0
Add jade-lint
2015-09-02 23:12:09 +01:00
LCD 47
0fe6035959
Bug fix: minor shell escape issue.
2015-09-01 07:20:23 +03:00
LCD 47
d077102eb8
Gotype checker: parse test files (@jonasi).
2015-09-01 07:14:40 +03:00
LCD 47
3c2e7e4ce3
Go checker: attempt to speed up builds (@gsalgado).
2015-08-27 14:49:19 +03:00
Guilherme Salgado
13727dd464
Set the GOGC env var to off to speed up go builds
2015-08-27 10:17:06 +01:00
LCD 47
1ae5589f95
Javac checker: attempt at fixing errorformat.
2015-08-06 18:23:05 +03:00
LCD 47
3fb8281a6d
Bug fix: missing a couple of executable() checks.
2015-08-06 08:27:42 +03:00
LCD 47
748725c775
Tslint checker: version 2.4.0 and later no longer support "-f".
2015-08-04 23:43:28 +03:00
LCD 47
bfc55793ef
ESLint checker: line numbers are now 1-based.
2015-07-30 08:22:30 +03:00
LCD 47
9d69f4c162
Qmllint checker: cleanup.
2015-07-28 12:37:07 +03:00
Peter Wu
6ff7c89348
New checker for qml: qmllint
2015-07-28 10:37:55 +02:00
LCD 47
edde4c5ed5
New checker for stylus: stylint.
2015-07-25 16:54:14 +03:00
LCD 47
a6012f2b4c
Move floating point functions to autoload.
2015-07-21 10:01:28 +03:00
LCD 47
6929f24e45
Flog checker: cleanup.
2015-07-19 18:33:36 +03:00
Pixelastic
5db87b9ec8
Add ruby flog checker
2015-07-17 18:09:05 +02:00
LCD 47
76ec53f186
Sqlint checker now returns 1 when it detects errors.
2015-07-17 00:37:16 +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
Steve Purcell
125ce327ef
Add checker for sqlint ( https://github.com/purcell/sqlint )
2015-07-16 14:12:06 +12: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
a596ef38bd
Gfortran checker: fix errorformat for gfortran 5.
2015-07-05 07:11:01 +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
Radek Szymczyszyn
0154e9d096
Translate relative paths from non-root rebar.config files
2015-06-29 15:36:43 +02: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
ec9da67323
Merge remote-tracking branch 'origin/pr/1456'
2015-06-25 16:22:01 +03:00
LCD 47
dbb28cd847
Ada checker: disable generation of intermediate files.
2015-06-25 10:59:00 +03:00
Ryan Turner
8269ba278d
Basic path substitution for g:syntastic_java_javac_custom_classpath_command
...
Allows '%FILE_PATH%', '%FILE_NAME%' and '%FILE_DIR%' to be used in the
Java custom classpath command to refer to the full file path, the file
basename, and the file directory, respectively.
2015-06-24 18:12:30 -07:00
LCD 47
56e19eb81a
Sphinx checker: update maintainer's address.
2015-06-24 21:25:13 +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
Rob Ashton
3dda9b833c
Apps should be used for include_lib too
2015-06-12 11:15:14 +01: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
Lucas Verney
a7fde99ea9
Add support for Vera++ C++ checker
...
This commit adds support for Vera++ C++ style checker, using its ability to export to cppstyle format, and then based on the checkstyle checker.
2015-05-26 15:44:02 +02:00
LCD 47
981196fdc3
Flow checker: use the "status" command.
2015-05-19 23:01:39 +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
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
615c890e71
Gfortran checker: bug fix: column handling and sorting for ifort.
2015-04-16 23:06:15 +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
fe436371b4
Checker tsc: version 1.5 has option "--noEmit".
2015-04-11 14:31:52 +03: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
dac07db617
Cleanup: shut up most vint warnings.
2015-03-25 18:44:34 +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
Joshua Rahm
4e0ac804cf
added mercury syntax checker
2015-03-18 13:51:05 -06:00
Rob Ashton
0cde758958
replaced erlang checker with the one from vimerl that works without rebar
2015-03-18 14:13:44 +00: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
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
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
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
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