summary refs log tree commit diff
path: root/emacs.d/modes
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-13 09:54:21 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-13 09:54:21 -0800
commite00394993012e0cd16982cd9e2e655e73f4bd822 (patch)
treee575866c395e7ceae1b2eae88c26b784cbc1a8fa /emacs.d/modes
parent[emacs] Split the config into 'core' and 'modes'. (diff)
downloademacs.d-e00394993012e0cd16982cd9e2e655e73f4bd822.tar.gz
[emacs] Enable flycheck for puppet-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)