[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config
From: |
Eli Zaretskii |
Subject: |
Re: master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config |
Date: |
Wed, 27 Dec 2023 18:46:42 +0200 |
> +(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'."
Since changing this defcustom needs some code to be run in order to
make the changes effective, I wonder whether this defcustom could use
:set to run that code automatically?
Thanks.
- Re: master d9b5f618baa 2/4: Eglot: introduce eglot-events-buffer-config,
Eli Zaretskii <=