PageRenderTime 23ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 16ms app.codeStats 0ms

/mweb-example-config.el

http://github.com/fgallina/multi-web-mode
Emacs Lisp | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | db1c4f036013025802473035f504a4fd MD5 | raw file
1(require 'multi-web-mode)
2(setq mweb-default-major-mode 'html-mode)
3(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
4                  (js-mode "<script[^>]*>" "</script>")
5                  (css-mode "<style[^>]*>" "</style>")))
6(setq mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5"))
7(multi-web-global-mode 1)