From 5aad7a446791c668e3afa3c08841884d126229d8 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Tue, 16 Sep 2014 09:24:10 +0100 Subject: [PATCH] Correct js vf ${1} snippet syntax error Use of ${1} twice rather than ${1} followed by $1 caused vim-snipmate to skip this field. --- snippets/javascript/javascript.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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