[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c5f369bacc4: Subject: send clientInfo during the initialize reque
From: |
João Távora |
Subject: |
master c5f369bacc4: Subject: send clientInfo during the initialize request |
Date: |
Wed, 22 Mar 2023 14:33:00 -0400 (EDT) |
branch: master
commit c5f369bacc414fce6a1ed17733188f4c1cdfe317
Author: Felician Nemeth <felician.nemeth@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c5f369bacc4: Subject: send clientInfo during the initialize request,
João Távora <=