aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2023-10-15 10:43:50 -0300
committerStefan Kangas2023-10-21 12:05:31 +0200
commitcb89cbc406efeeadbb46eb6f4d81827c7c2caf94 (patch)
treed1e049f440aa6a5b0867d97ab836e67277ac771d
parent78b998f9aadcf4a690419c5e2aa520d8be16f51c (diff)
downloademacs-cb89cbc406efeeadbb46eb6f4d81827c7c2caf94.tar.gz
emacs-cb89cbc406efeeadbb46eb6f4d81827c7c2caf94.zip
Fix eglot-report-progress :type
* lisp/progmodes/eglot.el (eglot-report-progress): Change :type to choice, to allow 'messages' as a value. (Bug#66556)
-rw-r--r--lisp/progmodes/eglot.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 7d83bcdd7ac..eba66503bf7 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -467,7 +467,9 @@ ACTION is the default value for commands not in the alist."
467 "If non-nil, show progress of long running LSP server work. 467 "If non-nil, show progress of long running LSP server work.
468If set to `messages', use *Messages* buffer, else use Eglot's 468If set to `messages', use *Messages* buffer, else use Eglot's
469mode line indicator." 469mode line indicator."
470 :type 'boolean 470 :type '(choice (const :tag "Don't show progress" nil)
471 (const :tag "Show progress in *Messages*" messages)
472 (const :tag "Show progress in Eglot's mode line indicator" t))
471 :version "1.10") 473 :version "1.10")
472 474
473(defcustom eglot-ignored-server-capabilities (list) 475(defcustom eglot-ignored-server-capabilities (list)