mirror of
https://github.com/amix/vimrc
synced 2024-12-27 04:13:08 +00:00
10 lines
231 B
Text
10 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
|