neosnippet.vim/autoload/neosnippet/snippets/eruby.snip

20 lines
379 B
Plaintext
Raw Normal View History

2012-02-02 04:33:35 +00:00
snippet ruby_print
abbr <%= %>
<%= ${1:Ruby print code} %>${2}
snippet ruby_code
abbr <% %>
<% ${1:Ruby code} %>${2}
snippet ruby_print_nonl
abbr <%= -%>
<%= ${1:Ruby print code} -%>${2}
snippet ruby_code_nonl
abbr <% -%>
<% ${1:Ruby code} -%>${2}
snippet comment
abbr <%# %>
<%# ${1:Comment} %>${2}