From a30d36b8834674f408ab824e88af8e81a62bc8c8 Mon Sep 17 00:00:00 2001 From: Pompeu Date: Sun, 10 Jan 2016 01:21:56 -0200 Subject: [PATCH] node require(re) snippet now can use new types of variables not only var by defult, can change in $1 --- snippets/javascript/javascript.node.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/javascript/javascript.node.snippets b/snippets/javascript/javascript.node.snippets index 1da78d0..2b5aefb 100644 --- a/snippets/javascript/javascript.node.snippets +++ b/snippets/javascript/javascript.node.snippets @@ -5,7 +5,7 @@ snippet ex module.exports = ${1}; # require snippet re - var ${1} = require('${2:module_name}'); + ${1:var} ${2} = require('${3:module_name}'); # EventEmitter snippet on on('${1:event_name}', function(${2:stream}) {