Commit Graph

399 Commits

Author SHA1 Message Date
Martin Grenfell
18364490b0 Merge remote-tracking branch 'brendanjerwin/master' 2012-07-24 09:49:43 +01:00
Martin Grenfell
6818c45710 ruby/mri checker: fix a compatibility bug
The commit 0f73bbaf14 fixed compatibility
with ruby >= 1.9.3 but broke compatibility for ruby < 1.9.3
2012-07-19 11:10:05 +01:00
Frank Schumacher
0f73bbaf14 Fix warning suppression in MRI 1.9.3 2012-07-19 11:25:49 +02:00
Brendan Erwin
4cc6d8b4ce Improved the behavior per suggestions 2012-07-18 20:45:34 -04:00
Martin Grenfell
6e2b7dd190 ruby/mri checker: make it display warnings
Previously we were using "medium verbosity" with `-W1`. The reason for
this is because using full verbosity caused some bogus repeated warnings
to appear in rspec files.

Enable full verbosity again and filter out the bogus warnings.

Closes #290
2012-07-17 22:39:13 +01:00
Martin Grenfell
94dcae202d Merge pull request #291 from CharlesStain/master
Added a barebone Ada syntax checker
2012-07-17 06:13:53 -07:00
Brendan Erwin
4310146a99 Include CoffeeLint if available.
Respects the same options configuration as the vim-coffee-script plugin.
2012-07-14 19:15:38 -03:00
kongo2002
341d87816b improve C++ errorformat as well 2012-07-06 00:54:55 +02:00
kongo2002
2f69e0b757 extend C errorformat 2012-07-06 00:54:40 +02:00
Yuri Bochkarev
aaacd75d21 Let user configure errorformat string in c/cpp syntax checkers. 2012-07-06 00:23:31 +02:00
Alfredo Di Napoli
2447d9d24f Added an Ada barebone checker 2012-07-05 06:34:10 +00:00
Szymon Wrozynski
bf56b92b39 Adds jruby errorformat 2012-07-04 22:17:05 +02:00
Martin Grenfell
529929691f Merge pull request #282 from khussein/perl_Ilib
Improves the Perl syntax checker to include lib
2012-07-02 13:14:27 -07:00
Khaled Hussein
f67266e2f5 Improves the Perl syntax checker to include lib
In .vimrc, you can specify the path for the libraries using :
let g:perl_lib_path = './lib'
2012-07-02 10:10:01 -07:00
Martin Grenfell
25e81cbe5d Merge pull request #279 from johntyree/master
Global option for Cuda arch flag
2012-07-02 02:27:29 -07:00
John Tyree
03c57784cd Pass arch flag to header check as well. 2012-07-02 11:05:13 +02:00
John Tyree
405363d358 Added documentation for new Cuda arch flag. 2012-07-02 11:04:55 +02:00
Martin Grenfell
f75fbc82dc Merge pull request #275 from eharmon/master
Fix merge error in the perl checker
2012-07-01 14:38:29 -07:00
Martin Grenfell
1ae9c3a945 Merge pull request #281 from latestrevision/master
Display original pylint error code so users might easily identify specific errors
2012-07-01 14:34:14 -07:00
Aleksey V. Zapparov
f3fa0e7017 Fix js-yaml (CLI) installation instructions 2012-07-01 18:07:17 +03:00
Adam Coddington
89e22ba2d4 Modifying pylint checker such that it displays both the original pylint error code as well as translating said error codes into syntastic-compatible Error and Warning messages. 2012-06-27 10:21:43 -07:00
John Tyree
3951845dc8 Add global option to set cuda arch.
Cuda programs may produce different errors depending on the architecture of the
target hardware. The canonical example and reason for writing this patch, is the
lack of support for double precision numbers on older hardware. By default, nvcc
and thus syntastic, defaults to the most basic architecture. This can produce
false errors if the developer intends to compile for newer hardware and use
newer features.

Not defining g:syntastic_cuda_arch preserves this behavior. Otherwise the user
is expected to set it a valid arch flag, as listed by `nvcc --help`.

Example:

    let g:syntastic_cuda_arch = "sm_20"
2012-06-22 16:07:50 +02:00
Eric Harmon
2939697fd7 Fixing merge error 2012-06-18 02:21:14 -04:00
Martin Grenfell
1e94b98705 Merge remote-tracking branch 'eharmon/master'
Conflicts:
	syntax_checkers/efm_perl.pl
2012-06-17 10:20:05 +01:00
Martin Grenfell
b2d4810cf0 Merge pull request #259 from jewel/master
Disable sass cache creation
2012-06-17 02:10:43 -07:00
Martin Grenfell
7828cd48c1 Merge pull request #271 from CharlesStain/master
Added a barebone D syntax checker
2012-06-17 02:08:35 -07:00
Gabriel Filion
d798286bb7 Enable pass arguments to puppet-lint
Some users might want to disable some checks for puppet-lint if they do
not intend to follow all of the style recommendations. There is
currently no way of doing that.

By adding a global variable synstastic_puppet_lint_arguments, one can
now set arguments to pass to puppet-lint via .vimrc.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-06-17 03:33:49 -04:00
Charles_Stain
978fdbc699 Cleaned the license section 2012-06-02 16:11:59 +02:00
Charles_Stain
716a2743fe Added a baredone D checker 2012-06-02 16:00:37 +02:00
Eric Harmon
5c4697acdd Remove some working notes 2012-05-31 04:35:53 -04:00
Eric Harmon
979258dbbe Make sure we add some contact info 2012-05-31 04:26:08 -04:00
Eric Harmon
9833b00c60 Add warnings support to perl checker 2012-05-31 04:23:04 -04:00
Alex Efros
1e99ed56b7 Fix: efm_perl missed some error messages
First example:

    $ echo -e 'if (0)\nsome();\n}' | perl -c -
    Semicolon seems to be missing at - line 1.
    syntax error at - line 2, near ")
    some"
    Unmatched right curly bracket at - line 3, at end of line
    - had compilation errors.

    $ echo -e 'if (0)\nsome();\n}' | perl syntax_checkers/efm_perl.pl -c -
    -:1:Semicolon seems to be missing

Second example:

    $ echo -e 'if (0)' | perl -c -
    syntax error at - line 1, at EOF
    - had compilation errors.

    $ echo -e 'if (0)' | perl syntax_checkers/efm_perl.pl -c -
2012-05-26 23:32:02 +03:00
Jewel
687ecc7234 Disable sass cache creation
The sass cache creation causes .sass-cache directories to be scattered
throughout a project.
2012-05-25 08:10:13 -06:00
Martin Grenfell
025fa81d98 Merge pull request #245 from xuhdev/remove-useless-win64-check
Remove some unnecessary win64 checks.
2012-05-22 00:54:00 -07:00
Martin Grenfell
6e7ac39ae1 Merge pull request #247 from irrationalfab/master
MacRuby/RubyMotion syntax checker
2012-05-22 00:51:43 -07:00
Jochen Keil
a24e07a822 A very basic syntax checker for java files.
It will compile all *.java files in the pwd and apply the errorformat string
from quickfix.txt

Interesting additional features would be:

* @argument files
* setting the pwd for javac
* perform only a syntax check (javac currently always builds class files)
2012-05-13 22:00:34 +02:00
Fabio Pelosin
1158999c85 Added MacRuby/RubyMotion syntax checker. 2012-05-09 14:12:15 +02:00
Hong Xu
30d7462249 Remove some unnecessary win64 checks.
has('win32') is always true on Win64.
2012-05-08 20:31:20 +08:00
Martin Grenfell
7fc5246be4 html: rename w3c.vim to w3.vim (i fail @ naming files!)
Also, fix the header comments for tidy/w3 so they have the right
filenames
2012-05-01 15:23:22 +01:00
Martin Grenfell
5c159fd374 html: split the checkers into separate files
Previously the 2 checkers were in the same file - this is more "tidy"
(lol??).

Currently the logic to determine which checker is loaded is custom to
the checker. At some point the SyntasticLoadChecker() function should be
upgraded to be able to handle cases (like this one) where the name of
the checker doesnt imply the name(s) of the executables that have to be
checked for.
2012-05-01 15:14:42 +01:00
Martin Grenfell
fd297d7768 html: fixed mixed indenting 2012-05-01 14:50:17 +01:00
Martin Grenfell
976fa99928 Merge remote-tracking branch 'daniel-walker/w3-validator' 2012-05-01 14:49:10 +01:00
Martin Grenfell
03a58be0fe puppet: fix a bug with the syntastic_puppet_lint_disabled option
The logic for this option was reversed in 2 places. Puppet-lint should
have been getting disabled for old versions and if it wasnt installed,
but the logic was wrong.
2012-05-01 14:44:15 +01:00
Jonathan Johnson
0e9927ca93 Add another PHP error clause to the list of parsables 2012-04-20 09:47:04 -05:00
Martin Grenfell
96fd02e1f2 Merge pull request #229 from leepa/master
flake8: don't clobber the text with Syntax Error
2012-04-20 06:36:20 -07:00
Martin Grenfell
7deb54d283 Merge pull request #228 from kisielk/patch-2
Build all files with go build
2012-04-20 06:33:50 -07:00
Martin Grenfell
0278642ef6 Merge pull request #222 from ldx/c_configfile_fix
Fix makeprg construction.
2012-04-20 06:11:12 -07:00
Daniel Walker
4eb1a0e57a Modify the html checker to optionally use http://validator.w3.org/
instead of tidy.
2012-04-19 08:23:03 -07:00
Lee Packham
02e510eec4 Don't shoe horn 'syntax error' everywhere
It hides the actual warning/error from Syntastic - so don't do that.
2012-04-12 06:48:17 +01:00