diff --git a/Cask b/Cask index 27a8311c7..0e6b34ca6 100644 --- a/Cask +++ b/Cask @@ -235,13 +235,14 @@ ;; Web -- modules/module-web.el (depends-on "web-mode") +(depends-on "company-web") (depends-on "emmet-mode") (depends-on "haml-mode") (depends-on "stylus-mode") (depends-on "less-css-mode") (depends-on "scss-mode") (depends-on "sass-mode") -(depends-on "jaded-mode" :git "https://github.com/hlissner/jaded-mode") +(depends-on "pug-mode" :git "https://github.com/hlissner/pug-mode") ;;;; ORGANIZATIONAL/WRITING ;;;;;;;;;;;; diff --git a/modules/module-web.el b/modules/module-web.el index 5b790a089..0716ab9c3 100644 --- a/modules/module-web.el +++ b/modules/module-web.el @@ -86,7 +86,7 @@ :config (def-company-backend! web-mode (web-html yasnippet)) (setq web-mode-enable-html-entities-fontification t) - (push '("html" "jade") projectile-other-file-alist) + (push '("html" "jade" "pug" "jsx" "tsx") projectile-other-file-alist) (map! :map web-mode-map :i "SPC" 'self-insert-command) @@ -140,7 +140,7 @@ (web-mode-set-engine "django")))) (def-project-type! wordpress "wp" - :modes (php-mode web-mode css-mode scss-mode sass-mode) + :modes (php-mode web-mode css-mode haml-mode pug-mode) :match "/wp-\\(\\(content\\|admin\\|includes\\)/\\)?.+$" :files ("wp-config.php" "wp-content/"))