diff --git a/UltiSnips/javascript.snippets b/UltiSnips/javascript.snippets index 50c3aa7..546e5d4 100644 --- a/UltiSnips/javascript.snippets +++ b/UltiSnips/javascript.snippets @@ -35,13 +35,13 @@ endsnippet snippet for "for (...) {...} (faster)" for (var ${2:i} = ${1:Things}.length - 1; $2 >= 0; $2--) { ${3:$1[$2]}${VISUAL}$0 -}; +} endsnippet snippet for "for (...) {...}" for (var ${2:i}=0; $2 < ${1:Things}.length; $2++) { ${3:$1[$2]}${VISUAL}$0 -}; +} endsnippet snippet fun "function (fun)"