From c5f369bacc414fce6a1ed17733188f4c1cdfe317 Mon Sep 17 00:00:00 2001 From: Felician Nemeth Date: Wed, 22 Mar 2023 18:34:03 +0000 Subject: [PATCH] Subject: send clientInfo during the initialize request 'clientInfo' arrived in LSP 3.15.0. LSP clients can use clientInfo to identify themselves in the initialize request. This is generally useful for various debugging tasks. * lisp/progmodes/eglot.el (eglot--connect): Send clientInfo. Author: --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index d21294276ad..29883aa9602 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1313,6 +1313,7 @@ This docstring appeases checkdoc, that's all." (eq (jsonrpc-process-type server) 'network)) (emacs-pid)) + :clientInfo '(:name "Eglot") ;; Maybe turn trampy `/ssh:foo@bar:/path/to/baz.py' ;; into `/path/to/baz.py', so LSP groks it. :rootPath (file-local-name -- 2.39.5