Commit Graph

17 Commits

Author SHA1 Message Date
David Barnett
dcac33ecc0 Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file. 2012-11-26 21:44:43 -08:00
Cory Fabre
66e5f3b59b Add support for changing the ruby version for erb 2012-09-27 11:02:46 -05: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
Hong Xu
30d7462249 Remove some unnecessary win64 checks.
has('win32') is always true on Win64.
2012-05-08 20:31:20 +08:00
Martin Grenfell
da78242123 add an option to SyntasticMake to specify defaults
Many of the syntax checkers were setting the 'bufnr' key for each
error manually and one was setting 'text' if it didnt exist too.

Add the 'defaults' option to SyntasticMake to set default values in the
returned error list - it only sets values if they are empty.
2011-12-09 13:47:42 +00:00
Serge Van Meerbeeck
6c6384ac17 Added conditional check on Windows, and adapted makeprg so that it works correctly (tested on Windows7) 2011-08-28 20:50:14 +02:00
Martin Grenfell
056fb50d77 eruby checker: escape % chars in the sed expression
Looks like vim was expanding these to the filename of the buffer.
2011-02-10 22:56:41 +13:00
Dominique Rose-Rosette
b6bfca9701 Braindead "fix" for Rails 3's eruby sytax
Rails 3 ships with its own version of Erb. Plain old Erb barfes on things like
<%= form_for ... do %> instead of old <% form_for ... do %>

For the moment, let's use sed to filter out this case. Dirty kludge, but that
will do for now.
2011-02-03 12:48:12 +01:00
Jeremy Cantrell
c61890f1b7 Properly escape % for makeprg 2010-09-24 10:48:49 +08:00
marty
5ad3cd67c1 change my email to gmail, hotmail licks ass crack 2009-12-16 23:02:36 +13:00
Tim Pope
0e1c82686c Really don't load rubygems when checking eruby 2009-09-13 12:35:55 -04:00
marty
f3fdaccc38 make sure we dont load rubygems when syntax checking [e]ruby 2009-09-13 18:33:03 +12:00
Martin Grenfell
1adfa4db5c make the syntax checkers use SyntasticMake 2009-07-15 21:29:28 +12:00
Martin Grenfell
0c35ca4416 use lmake instead of make 2009-07-14 09:53:36 +12:00
Martin Grenfell
33fd1d9cd8 use location list instead of quicklist 2009-07-13 23:12:18 +12:00
Martin Grenfell
a338e4b375 add blurb to top of eruby syntax checker 2009-07-11 19:11:31 +12:00
Martin Grenfell
08dbc2995d add syntax checkers eruby, sass and haml 2009-07-11 19:09:20 +12:00