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