Merge pull request #777 from tragiclifestories/master

add word boundary flag to ultisnips/javascript `fun` snippet
This commit is contained in:
Louis Pilfold 2016-08-31 15:56:25 +01:00 committed by GitHub
commit 744a18ffff

View File

@ -46,7 +46,7 @@ for (var ${2:i} = ${1:Things.length} - 1; $2 >= 0; $2--) {
} }
endsnippet endsnippet
snippet fun "function (fun)" snippet fun "function (fun)" w
function ${1:function_name}(${2:argument}) { function ${1:function_name}(${2:argument}) {
${VISUAL}$0 ${VISUAL}$0
} }