Richard Brown
758461b520
eruby: No need to call sed
...
The original fix for issue #7 used sed and didn't update the `executable` check
from cat to sed. This patch uses String.gsub when parsing an erb file instead,
as sed isn't neccesarily available.
2012-09-19 15:04:05 +01:00
Martin Grenfell
e3c3dda1c1
sh: relax makeprg to catch errors that werent getting parsed
...
Errors like this were not getting picked up:
/tmp/foo.sh: line 4: syntax error near unexpected token `)'
/tmp/foo.sh: line 4: `!!"£!")£!"£echo "foo"'
2012-09-18 00:37:56 +01:00
Martin Grenfell
f1d1827852
sh checker: extract out some logic into functions
2012-09-18 00:35:05 +01:00
Martin Grenfell
171776140b
Merge remote-tracking branch 'rbrown/sh2'
...
Conflicts:
syntax_checkers/sh.vim
2012-09-18 00:20:15 +01:00
Martin Grenfell
7e68e4b1f3
Merge pull request #325 from rbrown/sh
...
Fix issue #303 FilterLocList
2012-09-16 07:11:36 -07:00
Martin Grenfell
bf234f040f
Merge pull request #350 from kisielk/master
...
Added support for multi-line error messages in go.vim
2012-09-16 05:06:22 -07:00
Martin Grenfell
9c97ef1007
Merge pull request #351 from bryankennedy/html5-source-fix
...
Adding the HTML5 <souce> tag to valid tag list …
2012-09-16 04:55:35 -07:00
Richard Ramsden
eb503ed4ba
add support for elixir language
2012-09-15 19:24:02 -07:00
bryan kennedy
8d4e096599
Adding the HTML5 <souce> tag to valid tag list …
...
The HTML5 <source> tag throws an error when using Tidy since exceptions
have been made for audio and video, we should also support the source
tag which can exist inside these calls.
2012-09-11 12:37:57 -05:00
Kamil Kisiel
b1dc62076b
Added support for multi-line go errors in go.vim
2012-09-09 15:24:55 -07:00
Richard Brown
e6a22210ec
Remove wrong call to runtime in wrong file
2012-09-07 11:32:29 +01:00
Richard Brown
0140f4baca
Add syntax checker for ft=zsh
...
The current sh.vim checks for ft=sh and #!/bin/zsh This add a checker
specifically for ft=zsh and changes sh.vim to call the same code.
2012-09-06 09:53:34 +01:00
Richard Brown
f1758b6e61
Use SyntasticMake in sh.vim
...
Simplifies sh.vim by using SyntasticMake, also fixes #303
2012-09-06 09:52:06 +01:00
Martin Grenfell
9d6a3a8341
ocaml dont use a: for local variables
2012-09-02 19:20:12 +01:00
Martin Grenfell
37389b51e0
ocaml: apply patch from adinapoli to fix my fails :)
2012-09-02 19:18:58 +01:00
Martin Grenfell
c5b985b96a
ocaml: refactor the makeprg code
...
The code to generate the makeprg was an epic jumble. Break it down into
separate methods.
Also, init several options at the top of the script and make some
executable() checks at the same time. This clears up some of the clutter
and means we only check it once - not on every syntax check.
2012-08-31 21:22:35 +01:00
Alfredo Di Napoli
4b4e3a7b42
Updated OCaml checker with the possibility to syntax check through ocamlc. Supports JaneStreet Core too.
2012-08-31 21:22:35 +01:00
Patrice Neff
6bf22df41d
Allow puppet validation to be disabled
...
This way only puppet-lint is used.
This is necessary on Windows where the Puppet executable is extremely slow.
2012-08-31 17:28:37 +02:00
Martin Grenfell
9eeaaf3abb
puppet: cache versions
...
Cache the version numbers when we first extract them.
Remove the "Extract" from the version number function names since it is
redundant and fugly.
2012-08-30 18:12:07 +01:00
Martin Grenfell
2bf439a7fc
puppet: extract version checking logic into a function
2012-08-30 18:03:20 +01:00
Richard Brown
1af59829df
puppet: Fix the puppet-lint version comparison.
...
The original comparison would disable puppet-lint for version 1.2.3 because 3 <
10 even though 2 > 1
2012-08-29 15:05:10 +01:00
Richard Brown
4467ab2663
puppet: Fix puppet-lint check
...
Original verison would always call puppet-lint even if the executable wasn't
present. Fixes issue #331
2012-08-29 15:04:17 +01:00
Richard Brown
6314305019
puppet: fix version extractors to ignore stderr
2012-08-29 15:02:48 +01:00
Richard Brown
fc31ec69cb
Fix issue #303 FilterLocList
...
999d3c1b
added a filter on the errors list that checks for key/value
valid:1 in each element of the errors list. sh.vim doesn't use
SyntasticMake to check for errors so needs to add {valid:1} to each
result.
2012-08-23 15:19:20 +01:00
Martin Grenfell
e5dfcc3488
Merge pull request #307 from superjoe30/master
...
add support for coco language
2012-08-02 16:32:16 -07:00
Martin Grenfell
f81b031174
css checker: add syntastic_csslint_options variable
2012-08-03 00:29:10 +01:00
Martin Grenfell
ab59e7dcf0
perl: namespace the 'perl_lib_path' option under 'syntastic'
2012-08-03 00:27:37 +01:00
Martin Grenfell
f99073e20d
perl: refactor the new syntastic_perl_efm_program option
...
* move the doc for it to the top of the script to be consistent with
other syntax checkers
* dont define a s:checker var - just use the
g:syntastic_perl_efm_program variable. This simplifies things slightly
2012-08-03 00:25:52 +01:00
Harley Pig
fb18ea177b
add support for a custom efm_perl program
2012-08-01 07:54:46 -06:00
Andrew Kelley
98360812f4
add another error format to coco language
2012-07-30 16:18:46 -04:00
Andrew Kelley
5e32635e0d
add support for coco language
...
https://github.com/satyr/coco/
2012-07-30 16:07:48 -04:00
Martin Grenfell
1fb8366456
Merge pull request #244 from mootoh/master
...
Javascript syntax check with Google Closure Compiler
2012-07-28 09:43:42 -07:00
Martin Grenfell
6b752cd4da
Merge pull request #246 from lervag/master
...
Added support for lisp (via clisp)
2012-07-28 09:36:06 -07:00
Austin Ziegler
cfd41f1ca3
Enable user-specified Ruby interpreters.
...
On systems where Ruby 1.8.7 is the default Ruby and users use
alternative suffixes (e.g., ruby19) or even rbenv or rvm Rubies, modern
Ruby syntax will be highlighted as an error.
The default behaviour in Syntastic is to run 'ruby' to check the syntax
of the script in question. This patch allows the user to specify a
different binary which may even be a full path. This should work on all
platforms.
let g:syntastic_ruby_exec = 'ruby19'
let g:syntastic_ruby_exec = '~/.rbenv/versions/1.9.2-p318/bin/ruby'
2012-07-24 13:08:22 +01:00
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