From: Andreas Gerler Date: Thu, 10 Dec 2015 10:19:40 +0000 (+0100) Subject: yasnippet: added puppet/header X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=999b230755200559a509769c4909c504ead9a767;p=emacsconfig.git yasnippet: added puppet/header --- diff --git a/snippets/puppet-mode/header b/snippets/puppet-mode/header new file mode 100644 index 00000000..dd9603d4 --- /dev/null +++ b/snippets/puppet-mode/header @@ -0,0 +1,21 @@ +# name: header +# key: header +# -- +# == Class: ${1:name} +# +# ${2:description} +# +# == Examples +# +# class { '$1': } +# +# == Authors +# +# `(insert-timestamp)` +# +# === Copyright +# +# Copyright `(insert-string (format-time-string "%Y"))` $3 +class $1 { + $0 +}