Skip to content

Commit 75cce6c

Browse files
author
fabiantheblind
committed
New snippet. anon function
1 parent 432b336 commit 75cce6c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<snippet>
2+
<!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
3+
<content><![CDATA[
4+
(function(thisObj){$SELECTION})(this);
5+
]]></content>
6+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
7+
<tabTrigger>(fun</tabTrigger>
8+
<description>enclose in anonymous function</description>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<scope>source.jsx</scope>
11+
</snippet>

0 commit comments

Comments
 (0)