.emacs-my
changeset 1130 4aea0ddc3607
parent 1125 2fab89e9858e
child 1131 9d1bf84f379d
equal deleted inserted replaced
1125:2fab89e9858e 1130:4aea0ddc3607
  2722 (setq web-mode-enable-comment-keywords t)
  2722 (setq web-mode-enable-comment-keywords t)
  2723 
  2723 
  2724 (ignore-errors (require 'web-mode))
  2724 (ignore-errors (require 'web-mode))
  2725 (when (featurep 'web-mode)
  2725 (when (featurep 'web-mode)
  2726   (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
  2726   (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
  2727   (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
  2727   (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))
  2728   (add-to-list 'auto-mode-alist '("\\.jspf?\\'" . web-mode))
  2728   (add-to-list 'auto-mode-alist '("\\.jspf?\\'" . web-mode))
  2729   (add-to-list 'auto-mode-alist '("/WEB-INF/tags/.*\\.tagf?\\'" . web-mode))
  2729   (add-to-list 'auto-mode-alist '("/WEB-INF/tags/.*\\.tagf?\\'" . web-mode))
  2730   (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
  2730   (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
  2731   (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
  2731   (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
  2732   (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
  2732   (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))