We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 376007d commit f4d4005Copy full SHA for f4d4005
UltiSnips/eruby.snippets
@@ -24,6 +24,14 @@ def textmate_var(var, snip):
24
endglobal
25
26
27
+snippet % "<% ${0} %>"
28
+`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_INLINE', snip)`${0}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_INLINE', snip)`
29
+endsnippet
30
+
31
+snippet = "<%= ${0} %>"
32
+`!p textmate_var('TM_RAILS_TEMPLATE_START_RUBY_EXPR', snip)`${0}`!p textmate_var('TM_RAILS_TEMPLATE_END_RUBY_EXPR', snip)`
33
34
35
###########################################################################
36
# GENERATED FROM get_tm_snippets.py + REGEX REPLACE #
37
0 commit comments