Skip to content
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

:wqa causes waiting for language server exit #453

Open
Bilaboz opened this issue Oct 31, 2022 · 4 comments
Open

:wqa causes waiting for language server exit #453

Bilaboz opened this issue Oct 31, 2022 · 4 comments

Comments

@Bilaboz
Copy link

Bilaboz commented Oct 31, 2022

Hello

I noticed that :wqa causes Waiting for language server exit: clangd --log=error ... and waits around 6 seconds before closing vim.

It doesn't happen with :qa or :wa

@Bilaboz
Copy link
Author

Bilaboz commented Nov 12, 2022

A temporary fix, add this line to your .vimrc
cabbrev wqa wa <BAR> qa

@natebosch
Copy link
Owner

It's likely that the document/didSave notifications cause a delay in the shutdown for the server.

There is a 5 second timeout which we could make configurable.

@natebosch
Copy link
Owner

It's surprising that :wa|qa would be faster, I'm not sure what could cause a behavior difference.

@cwegener
Copy link

cwegener commented May 9, 2023

This also happens occasionally for me when either using :wq or ZZ but I cannot reproduce it consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants