diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el
index db6124c3a..b3c4aca41 100644
--- a/modules/lang/web/+html.el
+++ b/modules/lang/web/+html.el
@@ -165,5 +165,6 @@
(when (featurep! +lsp)
(add-hook! '(html-mode-local-vars-hook
- web-mode-local-vars-hook)
+ web-mode-local-vars-hook
+ nxml-mode-local-vars-hook)
#'lsp!))