Function: eglot-lsp-server
eglot-lsp-server is a byte-compiled function defined in eglot.el.gz.
Signature
(eglot-lsp-server &rest SLOTS)
Documentation
Create a new object of class type eglot-lsp-server(var)/eglot-lsp-server(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defclass eglot-lsp-server (jsonrpc-process-connection)
((project-nickname
:documentation "Short nickname for the associated project."
:accessor eglot--project-nickname
:reader eglot-project-nickname)
(languages
:initform nil
:documentation "Alist ((MODE . LANGUAGE-ID-STRING)...) of managed languages."
:accessor eglot--languages)
(capabilities
:initform nil
:documentation "JSON object containing server capabilities."
:accessor eglot--capabilities)
(server-info
:initform nil
:documentation "JSON object containing server info."
:accessor eglot--server-info)
(shutdown-requested
:initform nil
:documentation "Flag set when server is shutting down."
:accessor eglot--shutdown-requested)
(project
:initform nil
:documentation "Project associated with server."
:accessor eglot--project)
(progress-reporters
:initform (make-hash-table :test #'equal) :accessor eglot--progress-reporters
:documentation "Maps LSP progress tokens to progress reporters.")
(inhibit-autoreconnect
:initform t
:documentation "Generalized boolean inhibiting auto-reconnection if true."
:accessor eglot--inhibit-autoreconnect)
(file-watches
:documentation "Map (DIR -> (WATCH ID1 ID2...)) for `didChangeWatchedFiles'."
:initform (make-hash-table :test #'equal) :accessor eglot--file-watches)
(managed-buffers
:initform nil
:documentation "List of buffers managed by server."
:accessor eglot--managed-buffers)
(saved-initargs
:documentation "Saved initargs for reconnection purposes."
:accessor eglot--saved-initargs))
:documentation
"Represents a server. Wraps a process for LSP communication.")