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!))