mirror of
https://github.com/amix/vimrc
synced 2024-12-21 09:23:06 +00:00
11 lines
231 B
Text
11 lines
231 B
Text
|
snippet for "ejs for loop" b
|
||
|
<% for (let ${1:i = 0}; ${2:i<arr.length}; ${3:i++}) { %>
|
||
|
${0:body}
|
||
|
<% } %>
|
||
|
endsnippet
|
||
|
snippet forE "ejs for Each loop" b
|
||
|
<% ${1:array}.forEach((${2:single var}) => { %>
|
||
|
${0:body}
|
||
|
<% }) %>
|
||
|
endsnippet
|