Permalink
Browse files

Enable [rpc] and [rpo] snippets in haml

  • Loading branch information...
1 parent 1fa61e4 commit 4f95a39799123242c795b5f3ba234eb748860746 @tadast committed Apr 15, 2013
@@ -1,6 +1,6 @@
<snippet>
- <content><![CDATA[render partial: "${1:item}", collection: ${2:@$1s}]]></content>
+ <content><![CDATA[${TM_RAILS_TEMPLATE_START_RUBY_EXPR}render partial: "${1:item}", collection: ${2:@$1s}${TM_RAILS_TEMPLATE_END_RUBY_EXPR}]]></content>
<tabTrigger>rpc</tabTrigger>
- <scope>source.ruby.rails</scope>
+ <scope>source.ruby.rails, text.haml</scope>
<description>render (partial, collection)</description>
</snippet>
@@ -1,6 +1,6 @@
<snippet>
- <content><![CDATA[render partial: "${1:item}", object: ${2:@$1}]]></content>
+ <content><![CDATA[${TM_RAILS_TEMPLATE_START_RUBY_EXPR}render partial: "${1:item}", object: ${2:@$1}${TM_RAILS_TEMPLATE_END_RUBY_EXPR}]]></content>
<tabTrigger>rpo</tabTrigger>
- <scope>source.ruby.rails</scope>
+ <scope>source.ruby.rails, text.haml</scope>
<description>render (partial, object)</description>
</snippet>

0 comments on commit 4f95a39

Please sign in to comment.