]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
yasnippet: added puppet/header
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 10 Dec 2015 10:19:40 +0000 (11:19 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 10 Dec 2015 10:19:40 +0000 (11:19 +0100)
snippets/puppet-mode/header [new file with mode: 0644]

diff --git a/snippets/puppet-mode/header b/snippets/puppet-mode/header
new file mode 100644 (file)
index 0000000..dd9603d
--- /dev/null
@@ -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
+}