Martin Grenfell
8cb3099c9b
Merge pull request #363 from rbrown/ruby
...
ruby/mri: ignore efm lines that start ...
2012-09-25 08:27:23 -07:00
Richard Brown
6c80fa9d59
ruby/mri: ignore efm lines that start ...
...
If the line a ruby error occurs on is 'too long' it will truncate the line it
displays in the error output and wrap it in `...`. This breaks %p from finding
the correct column so this patch ignores lines starting with `...`
e.g. %p working
```
ruby -w -T1 -c broken.rb
broken.rb:2: syntax error, unexpected tIDENTIFIER, expecting $end
puts sprintf "%d, %.2f, %.2f, %.2f, %d" k, v
^
```
%p not working
```
ruby -w -T1 -c broken.rb
broken.rb:2: syntax error, unexpected tIDENTIFIER, expecting $end
...tf "%d, %.2f, %.2f, %.2f, %d" k, v[:cost], v[:val], v[:carri...
... ^
```
2012-09-25 15:23:47 +01:00
Richard Brown
47a4c8ef6f
By default do not check sass partials.
...
Sass partials depend on their parents files for context. This patch disables the
syntax checking for partials by default because of this. To enable checking of
partials let g:syntastic_sass_check_partials = 1. Fixes issue #300 .
2012-09-25 10:03:06 +01:00
Martin Grenfell
9331280b73
Merge branch 'master' of github.com:scrooloose/syntastic
2012-09-24 18:53:50 +01:00
Martin Grenfell
9849a6b8ac
move s:uname() in with the rest of the functions - close to its usage
2012-09-24 18:53:15 +01:00
Martin Grenfell
9ccef501e9
Merge remote-tracking branch 'cehoffman/master'
...
Conflicts:
plugin/syntastic.vim
2012-09-24 18:52:18 +01:00
Martin Grenfell
c2a16e88f8
Merge pull request #319 from delphinus35/master
...
[Perl] enable to specify multiple external libs
2012-09-23 16:14:49 -07:00
Martin Grenfell
2dfc153500
Merge pull request #321 from troydm/master
...
java syntax checker rewritten and added checkstyle syntax checker
2012-09-23 16:07:53 -07:00
kongo2002
d4ef5f7284
Merge remote-tracking branch 'daniel-walker/checkpatch-checker'
2012-09-23 23:24:50 +02:00
Gregor Uhlenheuer
bde48f6fc5
Merge pull request #348 from daniel-walker/objc-checker
...
Add a gcc based checker for Objective-C .
2012-09-23 13:47:36 -07:00
kongo2002
1bbfbeb3a3
add compiler options to C header checking too
2012-09-23 22:58:42 +02:00
kongo2002
acb35ec088
Merge remote-tracking branch 'likr/cppfix'
2012-09-23 22:51:52 +02:00
Martin Grenfell
c98c64191a
Merge pull request #320 from rbrown/fix_php_53_and_54
...
PHP: Work with php-5.3 and php-5.4
2012-09-23 07:42:54 -07:00
Martin Grenfell
c13ce4bf9f
remove support for less < 1.2
...
This was added in jan 2012. The current version is 1.3. Hard to imagine
anyone is still using < 1.2
2012-09-23 15:30:16 +01:00
Martin Grenfell
2387aba46c
less: init the syntastic_less_use_less_lint separately
2012-09-23 15:26:59 +01:00
Martin Grenfell
2411135208
Merge remote-tracking branch 'rbrown/less-lint' into less-lint
2012-09-23 14:10:23 +01:00
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