From 5cc4056abf30b0d9c5027b93a1022f8ee9e90f99 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Mar 2024 20:46:02 -0400 Subject: [PATCH] fix(format): +format-with-eglot-fn: eglot detection --- modules/editor/format/autoload/format.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/format/autoload/format.el b/modules/editor/format/autoload/format.el index 709855817..d0379c6a7 100644 --- a/modules/editor/format/autoload/format.el +++ b/modules/editor/format/autoload/format.el @@ -116,7 +116,7 @@ the requested feature." Does nothing if `+format-with-lsp' is nil or the active server doesn't support the requested feature." (and +format-with-lsp - (bound-and-true-p eglot-managed-mode) + (bound-and-true-p eglot--managed-mode) (pcase op ('buffer (if (eglot--server-capable :documentFormattingProvider) (always (eglot-format-buffer))))