neosnippet.vim/autoload/neosnippet/snippets/eruby.snip
2012-09-30 17:04:46 +09:00

20 lines
379 B
Plaintext

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}