Skip to content

Commit 5dd014e

Browse files
ksloansamholmes
authored andcommitted
add ejs ifelse snippet
1 parent 29ee17d commit 5dd014e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

ejs_if_else.sublime-snippet

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<% if (${2:condition}) { %>
4+
$3
5+
${1:<% \} else { %>
6+
$4}
7+
<% } %>
8+
$0
9+
]]></content>
10+
<description>&lt;% if (){ (}else{) } %&gt;</description>
11+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
12+
<tabTrigger>if</tabTrigger>
13+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
14+
<scope>text.html</scope>
15+
</snippet>

0 commit comments

Comments
 (0)