Commit Graph

508 Commits

Author SHA1 Message Date
Martin Grenfell
d1c18c2b03 Merge pull request #296 from novocaine/master
Added support for g:syntastic_cpp_compiler
2012-07-24 04:56:28 -07:00
Martin Grenfell
5ea166c324 coffee checker: refactor and change the coffee_lint option name
Move the coffeelint code out into its own function.

Init the coffeelint option once, at the top of the script. Change its
name so it begins with "syntastic_" - for namespacing purposes.
2012-07-24 10:05:38 +01:00
Martin Grenfell
39cfb51a7c coffee checker: fix mixed indenting 2012-07-24 09:51:35 +01:00
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
James Salter
d14a2b7b91 add support for g:syntastic_cpp_compiler 2012-07-10 15:15:07 +10: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
Karl Yngve Lervåg
be72bc35dc Added syntax checker for lisp 2012-05-08 11:17:09 -07: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
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
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
Kamil Kisiel
16a7a87529 Build all files with go build 2012-04-11 08:19:57 -07:00
Kamil Kisiel
315e1ad9d2 support column number in go syntax checker 2012-04-01 10:12:51 -07:00
Kamil Kisiel
3cac7f39c1 go syntax checker using 'go build' 2012-03-29 07:48:52 -07:00
ldx
c6407e55e8 Fix makeprg construction for cpp too. 2012-03-28 14:40:19 +02:00
ldx
2ef26e11e9 Fix makeprg construction.
Add space before appending the result of ReadConfig() to makeprg.
2012-03-28 14:22:17 +02:00
Martin Grenfell
e961f17c7c Merge pull request #220 from kongo2002/c_config
Add configuration file support for C/C++
2012-03-28 04:27:02 -07:00
kongo2002
0f1ea022e9 add ReadConfig to C++ checker as well 2012-03-27 22:28:35 +02:00
kongo2002
c791c3103e add ReadConfig support to C syntax checker 2012-03-27 22:26:15 +02:00
Dag Odenhall
8d6fe0d6c2 haskell: configurable ghc-mod arguments, default to support for HSP 2012-03-27 13:21:59 +02:00
Martin Grenfell
b4e85a8762 python/flake8: assume all outputs are errors - not warnings
The output of flake8 is ambiguous as to whether results should be
interpreted as warnings or errors. I have changed it to assume errors to
match the python/pyflakes checker.

In future we may want to change this or add items to the errorformat for
some specific warnings if they are annoying.

This fixes #203.
2012-03-27 10:41:37 +01:00
Martin Grenfell
62fb4e70e4 php: set error_reporting=E_ALL
setting it to E_PARSE causes some errors to be missed - e.g.

`$a[$b][] $c;`

will not cause an error to get reported as this is classed as a compile
error, not a parse error.

This should fix #206.
2012-03-27 09:41:50 +01:00
Martin Grenfell
0fab9ef09d Merge pull request #214 from jamezpolley/master
Fixes #202 - redict stderr in a way that doesn't break on versions of bash <4.0
2012-03-26 08:44:11 -07:00
Konstantin Stepanov
3cc6bf5cdd vala: g:syntastic_vala_modules variable to set modules list via vim script 2012-03-26 15:27:45 +03:00
James Polley
7cd8efec70 Fixes #202 - redict stderr in a way that doesn't break on versions of
bash <4.0
2012-03-24 19:18:08 +11:00
Martin Grenfell
3c569d2b97 pass a filetype to SyntasticLoadChecker
This is needed to handle compound filetypes since we cant imply the
location of the syntax checker file from the filetype.

e.g. we want to load `syntax_checkers/python/pylint.vim`, but the
filetype is `python.django`. Previously this was causing `runtime
syntax_checkers/python.django/pylint.vim` to be executed.
2012-03-21 09:42:11 +00:00
Martin Grenfell
5be83cdcc7 Merge pull request #201 from bukzor/master
redirect pylint stderr
2012-03-20 04:27:52 -07:00
Li He
a9383527d6 python/pylint: add g:syntastic_python_checker_args
I borrow this from flake8.
2012-03-20 11:21:08 +00:00
Martin Grenfell
53c70feb8c Merge remote-tracking branch 'parantapa/master'
Conflicts:
	syntax_checkers/python/pylint.vim
2012-03-20 11:17:53 +00:00
Jos Houtman
4c8ee38782 Abstracted the makeprg selection for puppet away into its own function 2012-03-20 08:53:43 +01:00
Jos Houtman
ca6a4b23c3 Added puppet-lint support with the use of subtypes 2012-03-20 05:56:51 +01:00
Buck Golemon
1a91488451 prevent stderr from messing up the terminal, in the (usual) case of no pylintrc found 2012-03-12 12:15:51 -07:00
Buck Golemon
c039b0f128 fix pylint parsing 2012-03-11 22:04:47 -07:00
kongo2002
adedb47ad7 refactoring of GetIncludeDirs() for C/C++ 2012-03-11 19:55:01 +01:00
kongo2002
6ce5880b81 set default C compiler options 2012-03-11 19:40:53 +01:00
kongo2002
c11c97da8b fix compiler options for C as well 2012-03-11 19:35:52 +01:00
kongo2002
85c347c14f fix custom c++ compiler options 2012-03-11 19:33:10 +01:00
kongo2002
441506c061 cpp: add option to remove include errors 2012-03-04 21:08:04 +01:00
kongo2002
d81b360f64 add missing doc comment 2012-03-04 20:04:15 +01:00
kongo2002
8e2634ae7e add include directory functionality to cpp 2012-03-04 19:59:26 +01:00
Parantapa Bhattacharya
760d84588e Fix pylint error format string
Used the error format string from sashahart/pylint.vim which seems
to be much more comprehensive.
2012-03-04 13:03:09 +05:30
Martin Grenfell
630a57dfef ruby: add the structure for jruby support
* move the existing ruby checker to syntax_checkers/ruby/mri.vim
* add a skeleton checker for jruby
* load mri by default but add an option to specify which ruby checker to
  load

This is in response to #185
2012-03-02 17:38:39 +00:00
Martin Grenfell
892cc2c232 refactor the error highlighting system
* remove the public SyntasticHighlightErrors() function
* shift the above code into s:HighlightErrors(). This is called
  automatically if g:syntastic_enable_highlighting is set
* to get the highlight regex we just look for a function called
  Syntastic_<filetype>_GetHighlightRegex
* to force this function to be called, each error item must have the
  'force_highlight_callback' key set

This code has one important functional change: now errors are *always*
highlighted if possible whereas previously they were only highlighted if
a call to SyntasticHighlightErrors was made.
2012-03-02 10:05:15 +00:00
Martin Grenfell
1f91303cdc php: prevent error duplication
Turn off `display_errors` and empty the `error_log` option so that
errors are guaranteed to be output to stdout

See #186 for discussion.
2012-03-02 09:27:10 +00:00
Martin Grenfell
637182c181 python/pyflakes: report errors by default
The error messages that pyflakes outputs dont contain enough information
to classify them as errors or warnings. Apart from checking for all
known warning outputs and classifying the rest as errors (or vice versa)
there is no way classify.

Make the syntax checker class all results as errors. Individual warning
formats can be checked for later if they become a problem.

This addresses #189.
2012-02-28 15:19:32 +00:00
Tomi Pieviläinen
15767983dd Show only real warnings in ReST 2012-02-27 17:27:54 +02:00
Martin Grenfell
c97042a3fd Merge remote-tracking branch 'artnez/php-force-display-errors'
Conflicts:
	syntax_checkers/php.vim
2012-02-27 15:18:39 +00:00
Martin Grenfell
6b643c83d3 Merge pull request #174 from lucash/master
php: fix lint if display_errors is off
2012-02-27 07:17:57 -08:00
Martin Grenfell
bcfdab6a02 python: bugfix to pyflakes checker
dont refer to g:syntastic_python_checker since - due to a previous
commit - this is not guaranteed to exist any more.

This change should have been done in the aforementioned commit - but I
failed.
2012-02-23 13:24:34 +00:00
Artem Nezvigin
c5616d282f php is now forced to display parse errors, even in production environments 2012-02-22 12:43:42 -08:00
Rickey
70a0574d76 scala language plugin 2012-02-20 20:08:16 -05:00
Martin Grenfell
936f1406da Merge pull request #180 from harpyon/master
Small NASM syntax checker fix
2012-02-20 05:50:17 -08:00
Håvard Pettersson
5d1adc5bcd Small NASM syntax checker fix.
Prevent %include errors by including the file directory with -I.
2012-02-20 14:17:22 +01:00
Martin Grenfell
8ed25186bd Merge pull request #178 from harpyon/master
Add NASM support
2012-02-20 02:40:25 -08:00
Martin Grenfell
b2ec20ba50 Merge pull request #177 from rgiot/master
Z80 syntax
2012-02-20 02:38:41 -08:00
Martin Grenfell
d454a00615 split python checker out into 3 files
previously there were 3 checkers in the one file
2012-02-20 10:20:48 +00:00
Håvard Pettersson
debae428d2 NASM syntax checker fixes.
- Redirect output to /dev/null or NUL, to get rid of the trash .o file.
 - Some extra arguments to make sure NASM will always use the same
   settings.
2012-02-20 03:54:32 +01:00
Håvard Pettersson
90b7a379c3 Added NASM syntax checker. 2012-02-20 03:13:42 +01:00
Romain Giot
d751322218 Merge remote branch 'upstream/master' 2012-02-19 22:12:45 +01:00
Romain Giot
22d8063b0a Add z80 assembly language 2012-02-19 22:09:16 +01:00
Lucas Heuvelmann
c751a5ac77 php: fix output of lint if display_errors is off
display_errors might be turned of for php globally. In this case the
output of php -l does not contain the errors messages. Using this option
will turn the option on for the single call.
2012-02-16 23:35:02 +01:00
Mikael Fridh
f4a2433c16 puppet: enable --storeconfigs on 2.7
without --storeconfigs it's going to complain alot if you have any imported
resources in your manifests.
2012-02-14 10:15:17 +01:00
Martin Grenfell
cb6205254e puppet: update errorformat to ignore a general message
The checker was always outputting this if syntax errors were detected:
    err: Try 'puppet help parser validate' for usage,

So just ignore it. See #157
2012-02-13 09:55:43 +00:00
Martin Grenfell
6d34c70713 puppet: skip --ignoreimport for versions >= 2.7.10
This option was removed in 2.7.10 - as noted in #157.
2012-02-13 09:55:43 +00:00
Patrice Neff
a79d079a63 Additional parameter for Python checker
The parameter `g:syntastic_python_checker_args` can be used to pass additional
arguments to the Python syntax checker. Example configuration:

    let g:syntastic_python_checker = "flake8"
    let g:syntastic_python_checker_args = "--ignore=E501 --max-complexity=10"
2012-02-13 09:00:26 +01:00
Martin Grenfell
253cfe3e82 Merge pull request #170 from gillesruppert/master
fix: javascript jshint config
2012-02-11 12:56:29 -08:00
Gilles Ruppert
be1091f251 rather than compare to '' we use the vimscript emtpy function as else the check does not work 2012-02-11 21:45:30 +01:00
Martin Grenfell
3be5136585 go: add gofmt checker from #150 2012-02-11 15:40:45 +00:00
Martin Grenfell
82765028c1 rust: remove the explicit color codes
Replace the color codes these regexes: /.\{-}/

This is needed for portability since, when using tmux, the output is not
colorized. Also, Im not sure that different terminals will
use the same codes for the colors - but Im no expert.
2012-02-11 12:51:42 +00:00
Martin Grenfell
b58ca4b950 rust: update a couple of comments 2012-02-11 12:30:00 +00:00
Chad Jablonski
fda546fff0 add rust syntax checker 2012-02-10 23:58:39 -08:00
Gilles Ruppert
c2c0058973 make the ternary check for the javascript jshint config explicit as else it was not working on my system 2012-02-11 02:27:45 +01:00
Martin Grenfell
5e438933f3 perl: fix the makeprg - I failed in the previous commit 2012-02-09 14:21:37 +00:00
Martin Grenfell
9a5eda8fe0 haxe: fix the permissions on the checker file 2012-02-09 14:00:50 +00:00
Martin Grenfell
ddecc79d19 perl: add the output munger to the repo
previously we assumed the user had efm_perl.pl installed as part of the
standard vim runtime, but this isnt so for CentOS and possibly for other
distros - see issue #159. Therefore, we now ship it with syntastic
itself.

Note: efm_perl.pl just munges the output of perl into a different
format. It may be worth investigating further and writing our own
errorformat to remove the dependency on efm_perl.
2012-02-09 13:50:04 +00:00
Martin Grenfell
258812abc0 puppet: fix the puppet version number extraction
fix a bug where the version number had a newline after the last version
number component e.g. 2.7.9\n
2012-02-08 23:29:50 +00:00
Martin Grenfell
2f796a7ca1 puppet: fix indenting - make it consistent at 4 spaces 2012-02-08 13:41:37 +00:00
Martin Grenfell
b4e7f8598a puppet checker: only check the version once
Previously it was calling `system()` to check the puppet version on
every syntax check. Now we do this only once and cache the result.
2012-02-08 13:40:02 +00:00
Martin Grenfell
6ffdf6ead9 Merge pull request #168 from zsprackett/puppet-version-fix
Make this work with releases > 2.7
2012-02-08 05:32:33 -08:00
Martin Grenfell
2b514d84bd Merge pull request #158 from technosophos/master
Support for subtypes
2012-02-07 08:31:54 -08:00
S. Zachariah Sprackett
d0a7546f1e Make this work with releases > 2.7 2012-02-07 11:27:32 -05:00
Matt Butcher
51a9e96e20 Per #158 (and #155): Turning empty() check back on. 2012-02-07 09:58:00 -06:00
Martin Grenfell
fa1084cf8f DRY up the code that loads checkers when multiple exist
Javascript and json have multiple syntax checkers that can be loaded.
Previously the logic to determine which checker to load was basically
copied and pasted in both. The `go` checker will soon have more
than one option too so remove the duplication by sticking the
common code in the core.
2012-02-06 17:46:08 +00:00
Martin Grenfell
ad1481c2ce Merge pull request #152 from irrationalfab/master
Improved less fix
2012-02-01 09:33:24 -08:00
Anthony Carapetis
d4683b39f0 bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windwos) 2012-02-01 14:49:21 +11:00
Matt Butcher
8df5c3bcdc Added support for error/warning subtyping. 2012-01-27 13:43:48 -06:00
Mitchell Hashimoto
c6d464bb62 Python executable check should use the variable, not a string 2012-01-26 11:29:07 -08:00
AD7six
7fedd203e7 only run phpcs if the file has no syntax errors.
running phpcs on a file which contains a parse error generates a huge
number of warnings from the phpcs library. This can freeze vim for
minutes at a time while it attempts to parse these
notices/warnings/errors.

Therefore - don't run phpcs on files which have parse errors.
2012-01-25 12:28:54 +01:00
Fabio
1724155881 less: improved errorformat for v1.2
* previous version would skip "NameError" and potentially other errors
* introduced support for the capture of the error message
2012-01-19 19:28:18 +01:00
Martin Grenfell
fe5b8989af less: simplify 1.2 errorformat and split errorformat up
* remove some unneeded escaping of spaces and colons from the 1.2
  errorformat
* split the pre and post 1.2 errorformats up and comment them for future
  clarity
2012-01-19 13:01:12 +00:00
Martin Grenfell
42ea3426d1 cuda: simplify/fix the executable checking
Remove the g:syntastic_nvcc_binary option as this should be in the users
path - or at least symlinked in. Also, the logic was broken in that the
script was hardcoded to only accept '/usr/local/cuda/bin/nvcc' as the
binary anyway.
2012-01-19 12:47:48 +00:00
Martin Grenfell
ae5171e453 Merge pull request #147 from irrationalfab/master
less fix
2012-01-18 08:55:51 -08:00
Martin Grenfell
74d45605e5 Merge pull request #145 from darcyparker/master
shellescape(expand()) the filename passed
2012-01-18 05:31:31 -08:00
Martin Grenfell
f521a0c0ee Merge pull request #143 from edwintorok/master
Add ocamlbuild support to ocaml.vim
2012-01-18 05:25:45 -08:00
Martin Grenfell
3dfcd1ab2b Merge pull request #149 from AD7six/patch-1
Use the default coding standard which phpcs is configured to use
2012-01-18 05:22:19 -08:00
Török Edwin
331e821a01 ocaml: only run ocamlbuild if _build already exists 2012-01-16 16:42:01 +02:00
Török Edwin
c7380d7ab4 drop locaml syntax
there is no such syntax, copy+pasto error.
2012-01-16 16:27:35 +02:00
Török Edwin
cb1d8c12ce ocaml syntax: handle warnings and ignore some ocamlbuild messages 2012-01-16 16:27:21 +02:00
Andy Dawson
4b68c72506 Use the default coding standard which phpcs is configured to use
see http://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php#package.php.php-codesniffer.config-options.php-codesniffer.default-standard
2012-01-16 15:11:20 +01:00
Parantapa Bhattacharya
a01332f54e Add support for pylint
Make pylint one of the available syntax checkers for python in
addition to flakes8 and pyflakes.
2012-01-15 22:46:47 +05:30
Fabio
7e8ab5f636 Error format fix for less files
Added errorformat because the output of lessc was not correctly
recognized in my system (maybe lessc errors changed in the last update)
2012-01-15 05:24:17 +01:00
Darcy Parker
3989481ba3 shellescaped(expand()) the filename passed to xmllint 2012-01-13 11:26:11 -05:00