branch: externals/eglot
commit 17ef74e6d4074196f0295ed54700ea7813049d39
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Defer textDocument/formatting requests
* eglot.el (eglot-format-buffer): Pass DEFERRED to eglot--request.
---
eglot.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index 0f366c4..e96a3e6 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1410,7 +1410,8 @@ DUMMY is ignored."
(list :textDocument (eglot--TextDocumentIdentifier)
:options (list :tabSize tab-width
:insertSpaces
- (if indent-tabs-mode :json-false t))))))
+ (if indent-tabs-mode :json-false t)))
+ :textDocument/formatting)))
(defun eglot-completion-at-point ()
"EGLOT's `completion-at-point' function."