diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el index 52ffb220d8b..3cba9636e02 100644 --- a/lisp/jsonrpc.el +++ b/lisp/jsonrpc.el @@ -64,6 +64,7 @@ :initarg :notification-dispatcher :documentation "Dispatcher for remotely invoked notifications.") (last-error + :initform nil :accessor jsonrpc-last-error :documentation "Last JSONRPC error message received from endpoint.") (-request-continuations @@ -71,6 +72,7 @@ :accessor jsonrpc--request-continuations :documentation "A hash table of request ID to continuation lambdas.") (-events-buffer + :initform nil :accessor jsonrpc--events-buffer :documentation "A buffer pretty-printing the JSONRPC events") (-events-buffer-scrollback-size @@ -353,6 +355,7 @@ ignored." :initarg :process :accessor jsonrpc--process :documentation "Process object wrapped by the this connection.") (-expected-bytes + :initform nil :accessor jsonrpc--expected-bytes :documentation "How many bytes declared by server.") (-on-shutdown diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 48ea33c3ee1..d410367f902 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -977,15 +977,19 @@ ACTION is an LSP object of either `CodeAction' or `Command' type." :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 @@ -1002,6 +1006,7 @@ ACTION is an LSP object of either `CodeAction' or `Command' type." :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