From 790355c688755ac3f837e48db59533e34fee50bd Mon Sep 17 00:00:00 2001 From: Mike Foley Date: Thu, 15 Aug 2013 17:34:23 -0700 Subject: [PATCH] remap haml triggers: mail_to = mt/mts, link_to = lt --- snippets/haml.snippets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/snippets/haml.snippets b/snippets/haml.snippets index 2054636..0466087 100644 --- a/snippets/haml.snippets +++ b/snippets/haml.snippets @@ -19,12 +19,12 @@ snippet rpl = render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1} snippet rpo = render :partial => "${1:item}", :object => ${2:@$1} -snippet l link_to - = link_to ${1:name}, ${2:url} -snippet m mail_to +snippet lt + = link_to ${1:name}, ${2:dest} +snippet mt = mail_to ${1:email_address}, ${2:name} -snippet m mail_to subject body - = mail_to ${1:email_address}, ${2:name}, :subject => ${3:subject}, :body => ${4:body} +snippet mts + = mail_to ${1:email_address}, ${2:name}, :subject => ${3}, :body => ${4} snippet ife - if ${1:condition} ${2}