Skip to content

Commit e081212

Browse files
mirsellalpil
authored andcommitted
modify re in javascript.node.snippets
I think when using the require snippets we practically never touch the const anyway, so I think the first placeholder should already be in the variable name instead of the const which we practically never modify
1 parent 9e5219a commit e081212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/javascript/javascript.node.snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ snippet ex
55
module.exports = ${1};
66
# require
77
snippet re
8-
${1:const} ${2} = require('${3:module_name}');
8+
const ${1} = require('${2:module_name}');
99
# EventEmitter
1010
snippet on
1111
on('${1:event_name}', function(${2:stream}) {

0 commit comments

Comments
 (0)