From e00394993012e0cd16982cd9e2e655e73f4bd822 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 13 Feb 2016 09:54:21 -0800 Subject: [emacs] Enable flycheck for puppet-mode --- emacs.d/modes/cfg-puppet.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1