Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add snippets for erb tags #19

Merged
merged 1 commit into from

2 participants

@yuriihabrusiev

Found this in atom/language-ruby-on-rails and I think Ruby ERB also need this.

@kevinsawicki
Owner

:+1: Thanks

@kevinsawicki kevinsawicki merged commit 8522c5f into atom:master
@yuriihabrusiev yuriihabrusiev deleted the yuriihabrusiev:erb_snippets branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 5, 2014
  1. @yuriihabrusiev
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 0 deletions.
  1. +7 −0 snippets/language-ruby.cson
View
7 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 %>'
Something went wrong with that request. Please try again.