<snippet> <content><![CDATA[ function ($1) ${3:return ${2:foo()};} end ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>lambda</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>source.lua,source.luae</scope> </snippet>