Variable: eglot-server-initialized-hook

eglot-server-initialized-hook is a variable defined in eglot.el.gz.

Value

nil

Documentation

Hook run after a eglot-lsp-server(var)/eglot-lsp-server(fun) instance is created.

That is before a connection is established. Use eglot-connect-hook to hook into when a connection was successfully established and the server on the other side has received the initializing configuration.

Each function is passed an eglot-lsp-server(var)/eglot-lsp-server(fun) instance as argument.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defvar eglot-server-initialized-hook
  '()
  "Hook run after a `eglot-lsp-server' instance is created.

That is before a connection is established.  Use
`eglot-connect-hook' to hook into when a connection was
successfully established and the server on the other side has
received the initializing configuration.

Each function is passed an `eglot-lsp-server' instance
as argument.")