mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -53,6 +53,8 @@ snippet ff
|
||||
<%= form_for @${1:model} do |f| %>
|
||||
${2}
|
||||
<% end %>
|
||||
snippet ffi
|
||||
<%= ${1:f}.input :${2:attribute} %>
|
||||
snippet ffcb
|
||||
<%= ${1:f}.check_box :${2:attribute} %>
|
||||
snippet ffe
|
||||
@ -111,3 +113,13 @@ snippet slt
|
||||
<%= stylesheet_link_tag ${1::all}, :cache => ${2:true} %>
|
||||
snippet sslt
|
||||
<%= stylesheet_link_tag "${1}" %>
|
||||
snippet if
|
||||
<% if ${1} %>
|
||||
${2}
|
||||
<% end %>
|
||||
snippet ife
|
||||
<% if ${1} %>
|
||||
${2}
|
||||
<% else %>
|
||||
${3}
|
||||
<% end %>
|
||||
|
Reference in New Issue
Block a user