From: João Távora Date: Thu, 21 Jun 2018 12:58:48 +0000 (+0100) Subject: Defer textdocument/formatting requests X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~495 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fc53b840d22c08ca444efd4bf693a25e2bb26e4;p=emacs.git Defer textdocument/formatting requests * eglot.el (eglot-format-buffer): Pass DEFERRED to eglot--request. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 0f366c41a74..e96a3e68e23 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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."