projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e340354
)
Subject: send clientInfo during the initialize request
author
Felician Nemeth
<felician.nemeth@gmail.com>
Wed, 22 Mar 2023 18:34:03 +0000
(18:34 +0000)
committer
João Távora
<joaotavora@gmail.com>
Wed, 22 Mar 2023 18:34:45 +0000
(18:34 +0000)
'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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index d21294276adefbb92346cf0279b4200d9ba77cc6..29883aa960207dc5d8ad815bad7a1a66078f0d3f 100644
(file)
--- 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