reindent-init.el 601 B

1234567891011
  1. (add-to-list 'load-path "~/.emacs.d/web-mode")
  2. (require 'web-mode)
  3. (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
  4. (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))
  5. (add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
  6. (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
  7. (add-to-list 'auto-mode-alist '("\\.jsp\\'" . web-mode))
  8. (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
  9. (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
  10. (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
  11. (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))