-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
textDocument/signatureHelp received after LSP exit #258
Comments
btw I don't seem to see the same issue with other signature help plugins such as |
Do you mean when you quit nvim you saw |
Yup. It's not consistent but for larger files I see multiple lines of these. Does not happen if I waited long enough after opening a file; probably after all queries are made? |
Ok, I think it is related to the async request I sent. But I have not seen the same issue so far. Might be also because the clangd is slow or your project is large. |
Yea the project is plenty large. It takes 10 seconds to index from scratch
and a few more for diagnostics to be loaded in plugins like Trouble.
I have only tried :q , not from insert, was just inspecting the files. If
I stay in the file for a while the chance of seeing these are less.
…On Mon, Feb 20, 2023, 11:07 PM rayx ***@***.***> wrote:
Ok, I think it is related to the async request I sent. But I have not seen
the same issue so far. Might be also because the clangd is slow or your
project is large.
How you exit your nvim? Do you have a keybind or you do :wq from cmdline?
More specifically, are you exit Insert mode before you exit?
—
Reply to this email directly, view it on GitHub
<#258 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF2RAXA6DQLYTLP3HUSGAO3WYRSRVANCNFSM6AAAAAAVCSOFCE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
With lsp_signature enabled with clangd, I frequently get these error messages printed on the console:
After some investigations it seems to be related to LSP exiting before the signature query reply is sent back. Sample steps:
RPC[Error]
messages are printed on the console. From the lsp.log, these seems to be received (or sent?) after the LSP has exited.For example in the log below, you can see LSP has finished then next line the RPC error is received and printed on stderr
This is a minor issue as the message are only printed on exit but it's quite annoying. Anyway to supress?
The text was updated successfully, but these errors were encountered: