[emacs] Replace multi-web-mode with web-mode

This commit is contained in:
Correl Roush 2014-07-08 13:51:16 -04:00
parent ae7d16c8ab
commit 906d0c8c58
2 changed files with 1 additions and 10 deletions

View file

@ -19,8 +19,8 @@
(depends-on "twilight-theme")
(depends-on "late-night-theme")
;; PHP
(depends-on "multi-web-mode")
(depends-on "php-mode")
(depends-on "web-mode")
;; Python
(depends-on "python")

View file

@ -10,12 +10,3 @@
(c-set-offset 'case-label '+))
(add-hook 'php-mode-hook 'my-php-mode-hook)
;; Multi-Web-Mode
(require 'multi-web-mode)
(setq mweb-default-major-mode 'html-mode)
(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
(js-mode "<script[^>]*>" "</script>")
(css-mode "<style[^>]*>" "</style>")))
(setq mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5" "tpl"))
(multi-web-global-mode 1)