Variable: eglot-events-buffer-config
eglot-events-buffer-config is a customizable variable defined in
eglot.el.gz.
Value
(:size 2000000 :format full)
Documentation
Configure the Eglot events buffer.
Value is a plist accepting the keys :size, which controls the
size in characters of the buffer (0 disables, nil means
infinite), and :format, which controls the shape of each log
entry (full includes the original JSON, lisp uses
pretty-printed Lisp).
For changes on this variable to take effect, you need to restart
the LSP connection. That can be done by eglot-reconnect.
This variable was added, or its default value changed, in Eglot version 1.17.30.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defcustom eglot-events-buffer-config
(list :size (or (bound-and-true-p eglot-events-buffer-size) 2000000)
:format 'full)
"Configure the Eglot events buffer.
Value is a plist accepting the keys `:size', which controls the
size in characters of the buffer (0 disables, nil means
infinite), and `:format', which controls the shape of each log
entry (`full' includes the original JSON, `lisp' uses
pretty-printed Lisp).
For changes on this variable to take effect, you need to restart
the LSP connection. That can be done by `eglot-reconnect'."
:type '(plist :key-type (symbol :tag "Keyword")
:options (((const :tag "Size" :size)
(choice
(const :tag "No limit" nil)
(integer :tag "Number of characters")))
((const :tag "Format" :format)
(choice
(const :tag "Full with original JSON" full)
(const :tag "Shortened" short)
(const :tag "Pretty-printed lisp" lisp)))))
:package-version '(Eglot . "1.17.30"))