(PUPPET) Add Puppetfile support

This commit enables syntax highlighting for Puppetfiles via the
puppetfile-mode package.

A Puppetfile is the configuration file used by librarian-puppet and
r10k for Puppet module management a la Ruby's Bundler.
This commit is contained in:
Nate Wolfe 2015-06-11 22:43:44 -07:00 committed by syl20bnr
parent 920f01a776
commit 30173da11f
2 changed files with 9 additions and 1 deletions

View file

@ -11,6 +11,10 @@
This layer aims at providing support for the Puppet DSL using [[https://github.com/lunaryorn/puppet-mode][puppet-mode]].
* Features
Puppetfile support via [[http://melpa.org/#/puppetfile-mode][puppetfile-mode]]
* Install
To use this contribution add it to your =~/.spacemacs=

View file

@ -1,7 +1,7 @@
(setq puppet-packages
'(
;; package puppets go here
puppet-mode
puppetfile-mode
company
))
@ -36,3 +36,7 @@
(defun puppet/post-init-company ()
(spacemacs|add-company-hook puppet-mode))
(defun puppet/init-puppetfile-mode ()
(use-package puppetfile-mode
:defer t))