<snippet>
    <content><![CDATA[eachDir {${1/(.+)/(?1: )/}${1:dir}${1/(.+)/(?1: ->)/}
	$0
}]]></content>
    <tabTrigger>ead</tabTrigger>
    <scope>source.groovy</scope>
    <description>eachDir { … } </description>
</snippet>
