summary refs log tree commit diff
path: root/emacs.d/modes/cfg-puppet.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/modes/cfg-puppet.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs.d/modes/cfg-puppet.el b/emacs.d/modes/cfg-puppet.el
index 5c1185a..d505ffc 100644
--- a/emacs.d/modes/cfg-puppet.el
+++ b/emacs.d/modes/cfg-puppet.el
@@ -1,5 +1,8 @@
 (use-package puppet-mode
   :ensure t
-  :mode ("\\.pp$" . puppet-mode))
+  :mode ("\\.pp$" . puppet-mode)
+  :init
+  (progn
+    (add-hook 'puppet-mode-hook 'flycheck-mode)))
 
 (provide 'cfg-puppet)