Commit Graph

1323 Commits

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