Skip to content

Commit

Permalink
[web] Don't handle files of more specific layers
Browse files Browse the repository at this point in the history
and remove xml as handled file type as this
is not longer a common web format.

See #16084
  • Loading branch information
smile13241324 committed Aug 30, 2024
1 parent df8f7d7 commit fc36f29
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions layers/+lang/html/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@
:defer t
:init
(spacemacs|add-company-backends
:backends (company-web-html company-css)
:modes web-mode)
:backends (company-web-html company-css)
:modes web-mode)
(spacemacs|add-company-backends
:backends company-web-jade
:modes pug-mode)
:backends company-web-jade
:modes pug-mode)
(spacemacs|add-company-backends
:backends company-web-slim
:modes slim-mode)))
:backends company-web-slim
:modes slim-mode)))

(defun html/init-css-mode ()
(use-package css-mode
Expand Down Expand Up @@ -228,9 +228,8 @@
;; TODO element close would be nice but broken with evil.
:mode
(("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)
("\\.tpl\\'" . web-mode)
("\\.twig\\'" . web-mode)
("\\.xml\\'" . web-mode)
("\\.html\\'" . web-mode)
("\\.htm\\'" . web-mode)
("\\.[gj]sp\\'" . web-mode)
Expand All @@ -242,7 +241,6 @@
("\\.hbs\\'" . web-mode)
("\\.eco\\'" . web-mode)
("\\.ejs\\'" . web-mode)
("\\.svelte\\'" . web-mode)
("\\.ctp\\'" . web-mode)
("\\.djhtml\\'" . web-mode))))

Expand Down

0 comments on commit fc36f29

Please sign in to comment.