diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-13 09:54:21 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-13 09:54:21 -0800 |
commit | e00394993012e0cd16982cd9e2e655e73f4bd822 (patch) | |
tree | e575866c395e7ceae1b2eae88c26b784cbc1a8fa | |
parent | [emacs] Split the config into 'core' and 'modes'. (diff) | |
download | emacs.d-e00394993012e0cd16982cd9e2e655e73f4bd822.tar.gz |
[emacs] Enable flycheck for puppet-mode
Diffstat (limited to '')
-rw-r--r-- | emacs.d/modes/cfg-puppet.el | 5 |
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) |