vim-snippets/snippets/haml.snippets
Marc Weber 94aebfaadd Move all snippet files into a snippets directory so that you can install it
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00

21 lines
304 B
Plaintext

snippet t
%table
%tr
%th
${1:headers}
%tr
%td
${2:headers}
snippet ul
%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