From 595a5e665cfa3acbbf46ee121712aeb1da2794c2 Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Sat, 18 Sep 2021 16:28:16 +0200 Subject: [PATCH] tweak(web): add nxml mode to LSP enabled modes Since lsp-mode supports XML (see https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/), it makes sense to add nxml-mode to the list of automatically enabled lsp mode clients. --- modules/lang/web/+html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!))