neosnippet.vim/neosnippets/eruby.snip

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}