vim-snippets/haml.snippets
Honza Pokorny 6964753858 Import snippets.
These snippets are taken from garbas/vim-snipmate. The SHA is:
307880b0809fdb0bd70226e3fedd4acdf58a7e0b
2011-06-20 14:40:28 -03: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