From d01ff65299899affa316727d7b3154a9fc7db911 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 2 Sep 2025 11:31:30 +0200 Subject: [PATCH] fix(web): lsp init in {html,css}-ts-mode --- modules/lang/web/+css.el | 1 + modules/lang/web/+html.el | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/lang/web/+css.el b/modules/lang/web/+css.el index bb96cd966..5677787b0 100644 --- a/modules/lang/web/+css.el +++ b/modules/lang/web/+css.el @@ -68,6 +68,7 @@ If set to `nil', disable all the above behaviors.") (when (modulep! +lsp) (add-hook! '(css-mode-local-vars-hook + css-ts-mode-local-vars-hook scss-mode-local-vars-hook sass-mode-local-vars-hook less-css-mode-local-vars-hook) diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el index 69f63a42a..b859560fb 100644 --- a/modules/lang/web/+html.el +++ b/modules/lang/web/+html.el @@ -163,6 +163,7 @@ (when (modulep! +lsp) (add-hook! '(html-mode-local-vars-hook + html-ts-mode-local-vars-hook web-mode-local-vars-hook nxml-mode-local-vars-hook) :append #'lsp!))