Updated emacs-d and added Remtrail command to vimrc
This commit is contained in:
5
.emacs.d/snippets/js-mode/commonjs.require
Normal file
5
.emacs.d/snippets/js-mode/commonjs.require
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: commonjs.require
|
||||
# key: req
|
||||
# --
|
||||
var ${3:${1:$(s-lower-camel-case (file-name-nondirectory yas/text))}} = require("${1:module}")$2;$0
|
Reference in New Issue
Block a user