[jsonrpc] D[18:34:42.281] Running language server: /usr/bin/clangd
[jsonrpc] e[18:34:42.281] --> initialize[1] {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"processId":24560,"clientInfo":{"name":"Eglot","version":"1.17.30"},"rootPath":"/home/whyuneedmyname/Projects/leilei/","rootUri":"file:///home/whyuneedmyname/Projects/leilei","initializationOptions":{},"capabilities":{"workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":false},"configuration":true,"workspaceFolders":true},"textDocument":{"synchronization":{"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":false,"completionItem":{"snippetSupport":false,"deprecatedSupport":true,"resolveSupport":{"properties":["documentation","details","additionalTextEdits"]},"tagSupport":{"valueSet":[1]}},"contextSupport":true},"hover":{
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```elisp | |
(defvar my/eglot-hover-fix-enabled nil | |
"When non-nil, the eglot hover fix is active.") | |
(defun my/eglot-hover-eldoc-function (cb) | |
"A member of `eldoc-documentation-functions', for hover." | |
(when (eglot-server-capable :hoverProvider) | |
(let ((buf (current-buffer))) | |
(jsonrpc-async-request | |
(eglot--current-server-or-lose) |
/tmp/clangd_stderru682xf_p.log
I[07:26:14.993] clangd version 18.1.1 (https://github.com/ycm-core/llvm abd06744664af7852747fc7190a38b36473ac13b)
I[07:26:14.993] Features: linux
I[07:26:14.993] PID: 9252
I[07:26:14.993] Working directory: /home/leimath/Projects/coros
I[07:26:14.993] argv[0]: /home/leimath/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clangd/output/bin/clangd
I[07:26:14.993] argv[1]: -header-insertion-decorators=0
I[07:26:14.993] argv[2]: -resource-dir=/home/leimath/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clang/lib/clang/18.1.3