Commit Graph

272 Commits

Author SHA1 Message Date
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
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
Darcy Parker
10bc9fea44 shellescaped(expand()) the filename passed to coffee 2012-01-13 11:25:48 -05:00
Török Edwin
7df01d8566 Add ocamlbuild support
Enabled with 'let g:syntastic_ocaml_use_ocamlbuild = 1' in .vimrc,
also creates .annot files for <Leader>t.
Not enabled by default because it writes to disk (_build dir).
2012-01-13 17:59:02 +02:00
Martin Grenfell
2616623bb9 xml/xslt: shellescape() the filename that is passed it
previously, checking an xml/xslt file called "foo bar.xml" would fail
2012-01-13 15:31:36 +00:00
Martin Grenfell
469e4efd0a Merge pull request #142 from darcyparker/18834a35877b756049b0c241de750d8e17f0eff0
A cleaner fix for wrapping makeprg's arguments that have spaces.
2012-01-13 07:15:26 -08:00
Darcy Parker
18834a3587 Wrapped arguments with spaces that were previously wrapped in single
quotes with shellescape().  cmd.exe on win32/64 does not recognize
single quotes properly.  shellescape() correctly wraps arguments with
spaces using double quotes on win32/64.
2012-01-13 09:34:40 -05:00
Martin Grenfell
10e6fe51f0 add locaml checker and make it alias ocaml
Move the locaml->lcaml alias function out of the ocaml checker as this
code wont be loaded for locaml files - only syntax checkers for filetype
that are in use get sourced
2012-01-13 12:16:31 +00:00
Martin Grenfell
f7072dd0ff ocaml: fix mixed indenting
indent with spaces only, and consistently use 4 spaces
2012-01-13 12:11:43 +00:00
Török Edwin
d5cee024e9 add OCaml syntax checker 2012-01-13 14:00:53 +02:00
Darcy Parker
8ddb0037af Fixed makeprg for win32 and win64 to use double quotes instead of single quotes. Now tidy can be executed properly. 2012-01-12 15:38:09 -05:00
Martin Grenfell
4d957c8658 sass: fix a bug with imports
Only cache the imports when the syntax checker is first loaded. Also,
there was a bug in the logic that was causing the imports to be set to
"" on the second run.

Make the imports var script local since we are not allowing users to
change it.
2012-01-11 16:31:56 +00:00
Brian Mattern
9335b9dca5 missing 'let' in fortran.vim 2012-01-06 17:07:58 -08:00
Martin Grenfell
c05a36f66c jslint: update for jslint 0.1.4 2012-01-06 19:06:47 +00:00
Martin Grenfell
cd99a2d084 haxe: remove a stray echo and fix a function name
rename Find_in_parent to FindInParent for consistency and make it local
to the script
2012-01-06 18:20:04 +00:00
Martin Grenfell
c2b5cd1686 haxe: make the indentation consistent 2012-01-06 18:14:43 +00:00
David Bernard
47dcc47980 haxe: update Maintainer 2011-12-28 22:19:12 +01:00
David Bernard
78e1ea2b34 add basic support for haxe 2011-12-28 22:12:45 +01:00
Aleksey V Zapparov
0d4a99c31b Updates js-yaml installation comment 2011-12-24 22:26:33 +01:00
Martin Grenfell
d949b9415e yaml: remove a stay line
This should never have been added - just a debugging leftover
2011-12-24 17:51:58 +00:00
Martin Grenfell
ab1906e72e add yaml syntax checker 2011-12-24 13:18:18 +00:00
Martin Grenfell
58cd0d340c update the javascript/jslint syntax checker
The jslint guys have changed their error format again. Update the syntax
checker to handle it.

Currently jslint outputs a "use strict" error if a function doesnt have
'use strict' at the top. This is not good for our purposes, so just
filter this out for now.
2011-12-23 23:09:03 +00:00
kongo2002
fc987cead3 parse haskell error and warning tags 2011-12-18 21:26:39 +01:00
kongo2002
138e48c275 C: readd default include dirs 2011-12-18 19:05:40 +01:00
kongo2002
18073102b3 C: option to remove errors from included files (#70) 2011-12-18 18:59:24 +01:00
kongo2002
5accceb04a C: add some explanatory comments 2011-12-18 18:25:07 +01:00
kongo2002
309652c840 C: modify the default include directories 2011-12-18 18:24:28 +01:00
kongo2002
58e65d99a4 C: remove duplicates in include directories 2011-12-18 18:09:27 +01:00
Martin Grenfell
26b5bb871c Merge remote-tracking branch 'millermedeiros/jsonlint'
Conflicts:
	doc/syntastic.txt
2011-12-18 13:43:50 +00:00
millermedeiros
dca9e450a2 add millermedeiros as maintainer of JSON syntax checker. 2011-12-18 11:06:09 -02:00
millermedeiros
e4adda29f7 fix jshint checker since it was ignoring jshintrc configs. 2011-12-16 16:28:24 -02:00
millermedeiros
2698e26e71 add json syntax checker. see #74.
still need to wait for zaach/jsonlint#15 before merging into master.
2011-12-16 14:22:20 -02:00
Martin Grenfell
d14b53e903 Merge pull request #122 from JNRowe/rst_checker
Added basic reStructuredText checker.
2011-12-14 06:30:50 -08:00
James Rowe
7539eacb81 Added basic reStructuredText checker. 2011-12-14 14:22:59 +00:00
James Rowe
b1321422c8 Added note on speeding up validation to XML checker. 2011-12-14 13:58:44 +00:00
James Rowe
a2088eb2ff Added basic Gentoo metadata.xml checker. 2011-12-14 13:58:20 +00:00
Martin Grenfell
3c1a8266eb Merge pull request #119 from technosophos/master
Added the --standard=Zend flag as default
2011-12-13 08:26:25 -08:00
Matt Butcher
e3c2b95b94 Added default setting to php.vim.
Changed the default standard to Zend, which is the most forgiving
of the out-of-the-box syntaxes.
2011-12-13 10:20:07 -06:00