diff --git a/snippets/coffee.snippets b/snippets/coffee.snippets index dfe3658..df537a9 100644 --- a/snippets/coffee.snippets +++ b/snippets/coffee.snippets @@ -1,3 +1,8 @@ +# Closure loop +snippet forindo + for ${1:name} in ${2:array} + do (${1:name}) -> + ${3:// body} # Array comprehension snippet fora for ${1:name} in ${2:array}