diff --git a/snippets/javascript/javascript.snippets b/snippets/javascript/javascript.snippets index 4e46658..0eb26cb 100644 --- a/snippets/javascript/javascript.snippets +++ b/snippets/javascript/javascript.snippets @@ -15,7 +15,7 @@ snippet f } # Function assigned to variable snippet vf - var ${1} = function ${1}(${2}) { + var ${1:function_name} = function $1(${2}) { ${0} }; # Immediate function