Permalink
Browse files

Merge pull request #19 from k3mm0tar/erb_snippets

Add snippets for erb tags
  • Loading branch information...
2 parents 1e48455 + b82588f commit 8522c5f05a0700ff34a36f4b7374d2287e493a40 @kevinsawicki kevinsawicki committed Mar 6, 2014
Showing with 7 additions and 0 deletions.
  1. +7 −0 snippets/language-ruby.cson
@@ -298,3 +298,10 @@
':yields:':
'prefix': 'y'
'body': ' :yields: ${0:arguments}'
+'.text.html.erb':
+ 'erb_render_block':
+ 'prefix': '='
+ 'body': '<%= $1 %>'
+ 'erb_exec_block':
+ 'prefix': '-'
+ 'body': '<% $1 %>'

0 comments on commit 8522c5f

Please sign in to comment.