Variable: eglot-stay-out-of

eglot-stay-out-of is a variable defined in eglot.el.gz.

Value

nil

Documentation

List of Emacs things that Eglot should try to stay of.

Each element is a string, a symbol, or a regexp which is matched against a variable's name. Examples include the string
"company" or the symbol xref.

Before Eglot starts "managing" a particular buffer, it opinionatedly sets some peripheral Emacs facilities, such as Flymake, Xref and Company. These overriding settings help ensure consistent Eglot behavior and only stay in place until
"managing" stops (usually via eglot-shutdown), whereupon the
previous settings are restored.

However, if you wish for Eglot to stay out of a particular Emacs facility that you'd like to keep control of add an element to this list and Eglot will refrain from setting it.

For example, to keep your Company customization, add the symbol company to this variable.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defvar eglot-stay-out-of '()
  "List of Emacs things that Eglot should try to stay of.
Each element is a string, a symbol, or a regexp which is matched
against a variable's name.  Examples include the string
\"company\" or the symbol `xref'.

Before Eglot starts \"managing\" a particular buffer, it
opinionatedly sets some peripheral Emacs facilities, such as
Flymake, Xref and Company.  These overriding settings help ensure
consistent Eglot behavior and only stay in place until
\"managing\" stops (usually via `eglot-shutdown'), whereupon the
previous settings are restored.

However, if you wish for Eglot to stay out of a particular Emacs
facility that you'd like to keep control of add an element to
this list and Eglot will refrain from setting it.

For example, to keep your Company customization, add the symbol
`company' to this variable.")