Add ruby-mode to Puppetfiles

Puppetfiles are similar to Gemfiles, but for librarian-puppet, that
manages dependencies on Puppet modules.
This commit is contained in:
Jan Ehrhardt 2014-04-07 18:32:08 +02:00
parent ec1241f976
commit 9230f7118b

View file

@ -50,6 +50,7 @@
(add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("Podfile\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("Podfile\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.podspec\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("\\.podspec\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("Puppetfile\\'" . ruby-mode))
;; We never want to edit Rubinius bytecode ;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc") (add-to-list 'completion-ignored-extensions ".rbc")