mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -11,10 +11,20 @@ snippet ul
|
||||
%li
|
||||
${1:item}
|
||||
%li
|
||||
snippet =rp
|
||||
= render :partial => '${1:partial}'
|
||||
snippet =rpl
|
||||
= render :partial => '${1:partial}', :locals => {}
|
||||
snippet =rpc
|
||||
= render :partial => '${1:partial}', :collection => @$1
|
||||
snippet rp
|
||||
= render :partial => "${1:item}"
|
||||
snippet rpc
|
||||
= render :partial => "${1:item}", :collection => ${2:@$1s}
|
||||
snippet rpl
|
||||
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
|
||||
snippet rpo
|
||||
= render :partial => "${1:item}", :object => ${2:@$1}
|
||||
snippet ife
|
||||
- if ${1:condition}
|
||||
${2}
|
||||
- else
|
||||
${3}
|
||||
snippet ifp
|
||||
- if ${1:condition}.presence?
|
||||
${2}
|
||||
|
||||
|
Reference in New Issue
Block a user