summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-14 14:16:30 +0100
committerAlan Pearce2013-08-14 14:16:30 +0100
commit4716b456014f52e847a63f2fc4a72b85c4b00a60 (patch)
tree94478c3df5c20fed1e0907f619d53d858f68885a /emacs
parent19c2511ca46d792cbd348dd68f9f6db1a4d75dfe (diff)
downloaddotfiles-4716b456014f52e847a63f2fc4a72b85c4b00a60.tar.lz
dotfiles-4716b456014f52e847a63f2fc4a72b85c4b00a60.tar.zst
dotfiles-4716b456014f52e847a63f2fc4a72b85c4b00a60.zip
Emacs: setup puppet-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 1092e9b..225e019 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -578,6 +578,11 @@ Values: `desktop', `server', `laptop'")
   :ensure t
   :mode (("\\.lua\\'" . lua-mode)))
 
+(use-package puppet-mode
+  :mode (("\\.pp\\'" . puppet-mode))
+  :config (progn
+            (add-hook 'puppet-mode-hook #'autopair-mode)))
+
 ;;;; Planning
 
 (use-package org