Variable: eglot-confirm-server-initiated-edits

eglot-confirm-server-initiated-edits is an alias and customizable for eglot-confirm-server-edits, defined in eglot.el.gz.

This variable is obsolete since 1.16; use eglot-confirm-server-edits instead.

Value

((eglot-rename) (t . maybe-summary))

Documentation

Control if changes proposed by LSP should be confirmed with user.

If this variable's value is the symbol diff, a diff buffer is pops up, allowing the user to apply each change individually. If the symbol summary or any other non-nil value, the user is prompted in the minibuffer with aa short summary of changes. The symbols maybe-diff and maybe-summary mean that the confirmation is offered to the user only if the changes target files visited in buffers. Finally, a nil value means all changes are applied directly without any confirmation.

If this variable's value can also be an alist ((COMMAND . ACTION)
...) where COMMAND is a symbol designating a command, such as
eglot-rename, eglot-code-actions, eglot-code-action-quickfix, etc. ACTION is one of the symbols described above. The value t for COMMAND is accepted and its ACTION is the default value for commands not in the alist.

Aliases

eglot-confirm-server-initiated-edits (obsolete since 1.16)