From 9de445c189fa501884ce2dfb1f65aa9cb25a9a00 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 1 May 2020 19:53:19 -0400 Subject: [PATCH] Enable lsp-mode a little later in {html,web}-mode Gives the user more time to customize the mode before they load, either through {html,web}-mode-hook or file/dir-local variables. --- modules/lang/web/+html.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el index 150b5a655..c3d73481c 100644 --- a/modules/lang/web/+html.el +++ b/modules/lang/web/+html.el @@ -162,4 +162,6 @@ (when (featurep! +lsp) - (add-hook! '(html-mode-hook web-mode-hook) #'lsp!)) + (add-hook! '(html-mode-local-vars-hook + web-mode-local-vars-hook) + #'lsp!))