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
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
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