From ef6bbf94f7063419f70862ca26f16772caeb8cd3 Mon Sep 17 00:00:00 2001 From: kj Date: Sun, 7 Aug 2022 12:14:12 -0400 Subject: [PATCH] Add multi-web-mode. --- configs/base-extensions.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/base-extensions.el b/configs/base-extensions.el index 3cff977..a831188 100644 --- a/configs/base-extensions.el +++ b/configs/base-extensions.el @@ -289,6 +289,17 @@ ;; Terminal (use-package vterm :ensure t :defer t :straight t) +(use-package multi-web-mode + :straight t + :defer t + :hook (after-init . multi-web-global-mode) + :config + (setq mweb-default-major-mode 'html-mode) + (setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>") + (js-mode "") + (css-mode ""))) + (setq mweb-filename-extensions '("php" "htm" "html"))) + ;; Cuando iniicias un atajo de teclas te muestra las posibilidades (use-package which-key :defer t