Add multi-web-mode.

This commit is contained in:
kj 2022-08-07 12:14:12 -04:00
parent b5de8f34b3
commit ef6bbf94f7

View File

@ -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 "<script +\\(type=\"text/javascript\"\\|language=\"javascript\"\\)[^>]*>" "</script>")
(css-mode "<style +type=\"text/css\"[^>]*>" "</style>")))
(setq mweb-filename-extensions '("php" "htm" "html")))
;; Cuando iniicias un atajo de teclas te muestra las posibilidades
(use-package which-key
:defer t