Commit Graph

857 Commits

Author SHA1 Message Date
Alfredo Di Napoli
2447d9d24f Added an Ada barebone checker 2012-07-05 06:34:10 +00:00
Martin Grenfell
3ea9d60e3f Merge pull request #289 from szw/master
Error format for JRuby
2012-07-04 14:51:48 -07: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
60a3588d30 refactor the checks for the shell/shellpipe hack compatability
move the check into its own function to DRY up the code and add an
intention revealing name to the if statements
2012-07-01 22:48:54 +01:00
Martin Grenfell
f5c63d9b32 Merge remote-tracking branch 'qbit/master' 2012-07-01 22:42:26 +01: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
Martin Grenfell
176514b4b3 Merge pull request #284 from ixti/patch-1
Fix js-yaml (CLI) installation instructions
2012-07-01 14:27:26 -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
Martin Grenfell
913494386b Merge pull request #273 from lelutin/puppet_lint_arguments
Enable pass arguments to puppet-lint
2012-06-17 02:06:27 -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
Martin Grenfell
ec9bf2e983 Merge pull request #265 from powerman/efm_perl
Fix: efm_perl missed some error messages
2012-05-28 15:07:34 -07: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
Aaron Bieber
e315263ba6 Add fix for OpenBSD 2012-05-25 12:53:21 -06: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
Martin Grenfell
acdffb3c15 Merge pull request #249 from jrk-/master
Java Syntax checker
2012-05-22 00:33:15 -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
Karl Yngve Lervåg
be72bc35dc Added syntax checker for lisp 2012-05-08 11:17:09 -07:00
Chris Hoffman
98b7e0e01b Delay an expensive startup cost until needed 2012-05-08 09:58:06 -05:00
Chris Hoffman
96cb6a9556 Merge remote-tracking branch 'scrooloose/master' 2012-05-08 08:45:35 -05:00
Hong Xu
30d7462249 Remove some unnecessary win64 checks.
has('win32') is always true on Win64.
2012-05-08 20:31:20 +08:00
Motohiro Takayama
0faf1bd47e Added an option: g:syntastic_javascript_closure_compiler_file_list
That variable specify the file which contains a list of filename that
Closure Compiler processes at once.

It can be useful for a project using 'require' statement like node.js.
2012-05-07 13:13:16 -07:00
Motohiro Takayama
b94510fea3 Do not check if the syntax_checker exists and is executable.
Syntax checker name should be the filename of the syntax_checkers/*.vim.
It can be any filename, and can be the name which does not exist in the PATH.
2012-05-07 12:23:51 -07:00
Motohiro Takayama
3e6687e479 s/gcc/closurecompiler/ 2012-05-06 11:10:57 -07:00
Motohiro Takayama
2d0bb48dd7 1 byte typo. 2012-05-04 18:20:19 -07:00
Motohiro Takayama
243becc5dd Javascript syntax check with Google Closure Compiler. 2012-05-04 18:13:23 -07: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