[Emacs] Enable LSP for web-mode buffers
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lucien Cartier-Tilet 2022-08-16 13:39:29 +02:00
parent d7af354c40
commit 262119b8e2
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 0 deletions

View File

@ -7324,6 +7324,7 @@ languages in the same buffer, mainly HTML, CSS, and Javascript.
:straight (:build t)
:hook html-mode
:hook (web-mode . prettier-js-mode)
:hook (web-mode . lsp-deferred)
:mode (("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)
("\\.twig\\'" . web-mode)