Commit Graph

676 Commits

Author SHA1 Message Date
Martin Grenfell
9a6895d28d add syntastic_loc_list_height option
This allows the user to specify what height the loc list should be
opened at. Solves  issue #153.
2012-02-10 17:56:32 +00: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
0b10a2eaf1 update changelog and credits 2012-02-08 17:51:42 +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
b30a9fad9a update some comments to reflect the new subtype functionality 2012-02-08 13:31:20 +00:00
Martin Grenfell
0de450de20 simplify how the 'subtype' option is added to errors
this is just a refactor to make things simpler and shorter
2012-02-08 13:31:20 +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
516b2eec4f Per #158: Removed SubtypeMasksType.
Because the subtype checker is never run when an error is found,
this is not necessary anymore.
2012-02-07 10:02:21 -06: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
111b012548 Merge pull request #163 from naoina/master
Fix the error in the .c syntax checking and Python 3.x
2012-02-06 08:31:42 -08:00
Naoya INADA
a2e7ef08c0 Fix the error that occurs when using Python 3.x and written the '#include <Python.h>' in the .c file 2012-02-03 21:58:49 +09:00
Martin Grenfell
ad1481c2ce Merge pull request #152 from irrationalfab/master
Improved less fix
2012-02-01 09:33:24 -08:00
Martin Grenfell
3bb2b7fe0c Merge pull request #160 from acarapetis/patch-1
bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windows)
2012-02-01 01:20:22 -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
Martin Grenfell
10f4d4d3e0 Merge pull request #156 from mitchellh/master
Python syntax checker executable check uses a string, when it should use value of the variable
2012-01-26 13:50:11 -08:00
Mitchell Hashimoto
c6d464bb62 Python executable check should use the variable, not a string 2012-01-26 11:29:07 -08:00
Martin Grenfell
31970a8ac0 Merge pull request #155 from AD7six/feature/php-no-phpcs-on-parseerror
only run phpcs if the file has no syntax errors.
2012-01-25 03:36:12 -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
Fabio
e603586f4e removed .DS_Store and added it to .gitignore 2012-01-18 17:14:56 +01: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
Martin Grenfell
1ef8a5b374 Merge pull request #148 from parantapa/master
Make pylint available as a python syntax checker
2012-01-18 04:49:52 -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
Darcy Parker
a9685fbbf3 Merge branch 'master' of https://github.com/scrooloose/syntastic 2012-01-13 11:08:05 -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
3555dc6d24 Merge remote-tracking branch 'upstream/master' 2012-01-13 09:51:35 -05: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