General refactor & cleanup, across the board

This commit is contained in:
Henrik Lissner
2019-09-13 21:59:03 -04:00
parent 4ddc5c194b
commit 2d365619cd
35 changed files with 141 additions and 155 deletions

View File

@ -1,19 +1,19 @@
;;; lang/web/+html.el -*- lexical-binding: t; -*-
(use-package! web-mode
:mode "\\.p?html?$"
:mode "\\.\\(?:tpl\\|blade\\)\\(\\.php\\)?$"
:mode "\\.erb$"
:mode "\\.jsp$"
:mode "\\.as[cp]x$"
:mode "\\.hbs$"
:mode "\\.mustache$"
:mode "\\.tsx$"
:mode "\\.vue$"
:mode "\\.twig$"
:mode "\\.jinja$"
:mode "wp-content/themes/.+/.+\\.php$"
:mode "templates/.+\\.php$"
:mode "\\.p?html?\\'"
:mode "\\.\\(?:tpl\\|blade\\)\\(?:\\.php\\)?\\'"
:mode "\\.erb\\'"
:mode "\\.jsp\\'"
:mode "\\.as[cp]x\\'"
:mode "\\.hbs\\'"
:mode "\\.mustache\\'"
:mode "\\.tsx\\'"
:mode "\\.vue\\'"
:mode "\\.twig\\'"
:mode "\\.jinja\\'"
:mode "wp-content/themes/.+/.+\\.php\\'"
:mode "templates/.+\\.php\\'"
:config
(set-docsets! 'web-mode "HTML" "CSS" "Twig" "WordPress")