puppetlabs / puppet-syntax-emacs

Puppet language syntax highlighting for Emacs
Other
25 stars 17 forks source link

Register .pp files for puppet-mode #11

Open mcandre opened 11 years ago

mcandre commented 11 years ago

Could the next version of puppet-mode automatically register .pp files to open in puppet-mode? That way, users don't have to manually do this anymore in .emacs:

(autoload 'puppet-mode "puppet-mode" "" t)
(add-to-list 'auto-mode-alist '("\\.pp\\'" . puppet-mode))
bbatsov commented 11 years ago

Fixed in https://github.com/lunaryorn/puppet-mode