From 17f194c2047b81a6646b55c8361bdd9d9e2b492e Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Tue, 16 Apr 2013 14:08:14 +0800 Subject: [PATCH] Fix issues in eruby.snippets --- UltiSnips/eruby.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UltiSnips/eruby.snippets b/UltiSnips/eruby.snippets index 1fdcfc1..c6b201e 100644 --- a/UltiSnips/eruby.snippets +++ b/UltiSnips/eruby.snippets @@ -14,9 +14,9 @@ def textmate_var(var, snip): lookup = dict( TM_RAILS_TEMPLATE_START_RUBY_EXPR = snip.opt('g:tm_rails_template_start_ruby_expr', '<%= '), TM_RAILS_TEMPLATE_END_RUBY_EXPR = snip.opt('g:tm_rails_template_end_ruby_expr', ' %>'), - TM_RAILS_TEMPLATE_START_RUBY_INLINE = snip.opt('g:tm_rails_template_start_ruby_inline', ' %>'), + TM_RAILS_TEMPLATE_START_RUBY_INLINE = snip.opt('g:tm_rails_template_start_ruby_inline', '<% '), TM_RAILS_TEMPLATE_END_RUBY_INLINE = snip.opt('g:tm_rails_template_end_ruby_inline', ' %>'), - TM_RAILS_TEMPLATE_END_RUBY_BLOCK = 'end' + TM_RAILS_TEMPLATE_END_RUBY_BLOCK = '<% end %>' ) snip.rv = lookup[var]