1
0
Fork 0
mirror of https://github.com/correl/dotfiles.git synced 2024-12-20 21:16:26 +00:00

[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
.emacs.d

View file

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

View file

@ -10,12 +10,3 @@
(c-set-offset 'case-label '+)) (c-set-offset 'case-label '+))
(add-hook 'php-mode-hook 'my-php-mode-hook) (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)