fetch(name)-{-key-..-}-(fet).sublime-snippet (355B)
1 <snippet> 2 <content><![CDATA[fetch(${1:name}) { ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${2:key}${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }]]></content> 3 <tabTrigger>fet</tabTrigger> 4 <scope>source.ruby</scope> 5 <description>fetch(name) { |key| .. }</description> 6 </snippet>