neosnippet.vim/neosnippets/eruby.snip
2013-12-28 20:20:15 +09:00

21 lines
355 B
Plaintext

snippet ruby_print
abbr <%= %>
<%= ${1:TARGET} %>${2}
snippet ruby_code
abbr <% %>
<% ${1:TARGET} %>${2}
snippet ruby_print_nonl
abbr <%= -%>
<%= ${1:TARGET} -%>${2}
snippet ruby_code_nonl
abbr <% -%>
<% ${1:TARGET} -%>${2}
snippet comment
abbr <%# %>
<%# ${1:TARGET} %>${2}