diff options
author | Jesús <heckyel@hyperbola.info> | 2018-11-02 20:52:49 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-11-02 20:52:49 -0500 |
commit | f978e624893f4206ecefe841c9934d355fe6c33c (patch) | |
tree | 9f59c61031f521024edfba49fec83bb0359b1dd9 | |
parent | 0479eaa621096911f81f11d46c5e6f54d192b1ec (diff) | |
download | emacs-personal-f978e624893f4206ecefe841c9934d355fe6c33c.tar.lz emacs-personal-f978e624893f4206ecefe841c9934d355fe6c33c.tar.xz emacs-personal-f978e624893f4206ecefe841c9934d355fe6c33c.zip |
Revert "multiple major mode support for web editing in Emacs"
The change is reversed.
This is done because it isn't best practice to mix PHP with HTML :(
This reverts commit 0479eaa621096911f81f11d46c5e6f54d192b1ec.
-rw-r--r-- | custom.el | 2 | ||||
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/init-multi-web.el | 10 |
3 files changed, 1 insertions, 12 deletions
@@ -12,7 +12,7 @@ '(ecb-options-version "2.50") '(package-selected-packages (quote - (multi-web-mode rainbow-mode yaml-mode scss-mode sass-mode less-css-mode smarty-mode ac-php php-mode pkgbuild-mode pip-requirements jedi markdown-mode crystal-mode nginx-mode emmet-mode whitespace-cleanup-mode flycheck neotree all-the-icons highlight-indent-guides anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line ecb diminish undo-tree nlinum sublime-themes use-package)))) + (rainbow-mode yaml-mode scss-mode sass-mode less-css-mode smarty-mode ac-php php-mode pkgbuild-mode pip-requirements jedi markdown-mode crystal-mode nginx-mode emmet-mode whitespace-cleanup-mode flycheck neotree all-the-icons highlight-indent-guides anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line ecb diminish undo-tree nlinum sublime-themes use-package)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -38,7 +38,6 @@ (require 'init-modeline) (require 'init-indent-guides) (require 'init-icons) -(require 'init-multi-web) (require 'init-neotree) ;; Tools (require 'init-flycheck) diff --git a/lisp/init-multi-web.el b/lisp/init-multi-web.el deleted file mode 100644 index e330a65..0000000 --- a/lisp/init-multi-web.el +++ /dev/null @@ -1,10 +0,0 @@ -(use-package multi-web-mode - :config - (setq mweb-default-major-mode 'html-mode) - (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") - (js-mode "<script +\\(type=\"text/javascript\"\\|language=\"javascript\"\\)[^>]*>" "</script>") - (css-mode "<style +type=\"text/css\"[^>]*>" "</style>"))) - (setq mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5")) - (multi-web-global-mode 1)) - -(provide 'init-multi-web) |