vimrc/sources_non_forked/vim-snippets/UltiSnips/ejs.snippets
2020-04-25 21:56:16 -04:00

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