You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# -*- mode: snippet; require-final-newline: nil -*-
|
|
|
# contributor: Diego Berrocal (cestdiego 4t gm4il d0t com)
|
|
|
# name: new-package
|
|
|
# key: newp
|
|
|
# binding: direct-keybinding
|
|
|
# --
|
|
|
(defun `(spacemacs/get-parent-dir)`/init-${2:package-name} ()
|
|
|
${3:(use-package $2
|
|
|
${4::defer t
|
|
|
}${5::init
|
|
|
${;; This block executes before the package has been loaded}
|
|
|
}${:config
|
|
|
${;; This block executes after the package has been loaded}
|
|
|
})})
|
|
|
$0
|