mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[emacs] Replace multi-web-mode with web-mode
This commit is contained in:
parent
ae7d16c8ab
commit
906d0c8c58
2 changed files with 1 additions and 10 deletions
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue