From 9ee26ce9e1185bfd0160dd56bbc3d4ff2fb30fd1 Mon Sep 17 00:00:00 2001 From: James Turley Date: Wed, 31 Aug 2016 15:37:48 +0100 Subject: [PATCH] add word boundary flag to ultisnips/javascript `fun` snippet --- UltiSnips/javascript.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/javascript.snippets b/UltiSnips/javascript.snippets index 4537bae..f468d0a 100644 --- a/UltiSnips/javascript.snippets +++ b/UltiSnips/javascript.snippets @@ -46,7 +46,7 @@ for (var ${2:i} = ${1:Things.length} - 1; $2 >= 0; $2--) { } endsnippet -snippet fun "function (fun)" +snippet fun "function (fun)" w function ${1:function_name}(${2:argument}) { ${VISUAL}$0 }