Commit Graph

956 Commits

Author SHA1 Message Date
Martin Grenfell
ac9ff106d5 slim checker: remove a stray debugging echo call 2012-09-23 13:56:01 +01:00
Martin Grenfell
ae876d7245 Merge pull request #362 from rbrown/slim
Update slim checker
2012-09-23 05:55:33 -07:00
Richard Brown
d2d8bb926d slim: errorformat includes column if slimrb --version > 1.3.0 2012-09-22 20:20:11 +01:00
Richard Brown
87f10e54d4 Make IsVersionAtLeast global 2012-09-22 19:51:12 +01:00
Martin Grenfell
a71048daac Merge pull request #352 from daniel-walker/csharp
Adds a syntax checker for C# using Mono
2012-09-22 07:20:23 -07:00
Martin Grenfell
43ac7506c8 Merge pull request #360 from rbrown/slim
Add checker for slim http://slim-lang.com
2012-09-22 07:18:58 -07:00
Martin Grenfell
76dbf3e6fe Merge pull request #356 from rbrown/eruby
eruby: No need to call sed
2012-09-22 07:04:45 -07:00
Yosuke ONOUE
c0676a74d9 Fixed compiler options for C++ header check. 2012-09-22 21:20:57 +09:00
Richard Brown
507023ee82 Add checker for slim http://slim-lang.com 2012-09-21 22:28:11 +01:00
Richard Brown
fbcb0b99ac less: Add a linter script to avoid compiling files.
Using lessc to check a less file results in a NameError if the file references a
variable defined in a file that inherits it. This commit adds a new linter that
just calls the less parser instead. The variable g:syntastic_less_use_less_lint
should be set to use the linter over lessc.
2012-09-20 14:15:33 +01:00
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
127422c11e move SyntasticCheckable() down with the other public functions 2012-09-18 00:41:36 +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
72856e6490 add licence file
This is in response to #326
2012-09-17 12:24:19 +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
Martin Grenfell
3b08d44236 Merge pull request #353 from rramsden/topic/elixir
add support for elixir language
2012-09-16 04:54:24 -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
Daniel Walker
ed0da303a1 Adds a syntax checker for C# using Mono 2012-09-10 18:29:08 -07:00
Kamil Kisiel
b1dc62076b Added support for multi-line go errors in go.vim 2012-09-09 15:24:55 -07:00
Daniel Walker
e409f1ceb5 Add a gcc based checker for Objective-C . This checker is just a
slightly modified version of the C checker. I did a find/replace to make
it use "_objc_" instead of "_c_" . I also modified the errorformat to
look more like the cpp errorformat because I discovered that the entries
added to the C errorformat no longer seem to match anything.
2012-09-08 11:32:18 -07:00
Richard Brown
e6a22210ec Remove wrong call to runtime in wrong file 2012-09-07 11:32:29 +01:00
Martin Grenfell
70f8354420 Merge pull request #318 from dstanek/master
Fixes issue #311
2012-09-07 02:35:15 -07:00
Daniel Walker
eef0180f8b Add a syntax checker for the Linux kernel checkpatch.pl utility.
I modified the C checker so checkpatch could be given as an alternate
checker for C files.
2012-09-06 18:41:09 -07:00
Martin Grenfell
f0123971f1 Merge pull request #345 from pjdelport/master
Fix README typos.
2012-09-06 06:25:11 -07:00
Piet Delport
d6a72845a6 README: Typos. 2012-09-06 14:10:10 +02: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
Mitch Lindgren
a709b6d505 Update README.markdown
Added a note on aliases not working for syntax checkers, which tripped me up for a while.
2012-09-05 18:55:23 -07:00
Martin Grenfell
df9c16cc1e add an FAQ to the readme RE jumping between errors
This is in response to issues like #341 and #342
2012-09-05 10:14:30 +01:00
Martin Grenfell
65091e5dc8 Merge pull request #337 from mlindgren/master
Additional documentation update
2012-09-04 01:58:32 -07:00
Mitch Lindgren
484537f1f1 Update README.markdown
Added a note on aliases not working for syntax checkers, which tripped me up for a while.
2012-09-03 12:24:18 -07:00
Martin Grenfell
a1ae9f18f7 Merge pull request #336 from zedshaw/master
Rewrite the install to include the pathogen install steps
2012-09-03 10:16:10 -07:00
Zed A. Shaw
8b960bdf25 Grammar and formatting fix. 2012-09-03 09:45:28 -07:00
Zed A. Shaw
0135849368 Write install docs that explain the entire process and have potential pitfalls. 2012-09-03 09:43:05 -07:00
Bit Connor
2ab6f7f50b haskell checker: Use hdevtools if available instead of ghc-mod 2012-09-03 17:01:02 +03: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
Alfredo Di Napoli
68f53d8b65 Updated OCaml checker with the possibility to syntax check through ocamlc. Supports JaneStreet Core too. 2012-08-31 21:22:35 +01:00
Martin Grenfell
38eeaa8a87 Merge pull request #333 from pneff/puppet-lint
Allow puppet validation to be disabled
2012-08-31 09:02:18 -07: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
83e6007c81 Merge pull request #329 from phleet/update-location-list
Always update the location list, even if empty
2012-08-30 10:25:08 -07: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