diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2020-10-22 20:59:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 14:59:17 -0400 |
commit | df726408d7043c618877118909f53a78b85eb2fd (patch) | |
tree | e6bfd8dc4e5d602dca00582aaab9ba17de24dc43 /src/nvim/api/buffer.c | |
parent | 78cd1b9f5a920ce6845cf275fa8c1fdfbf9400a3 (diff) | |
download | rneovim-df726408d7043c618877118909f53a78b85eb2fd.tar.gz rneovim-df726408d7043c618877118909f53a78b85eb2fd.tar.bz2 rneovim-df726408d7043c618877118909f53a78b85eb2fd.zip |
lsp: Fix "client has shut down" errors during initializing (#13103)
Language servers can already send log messages to the client while the
server is still being initialized.
This currently leads to "client has shut down" messages which are
confusing to the user as the server is properly starting.
To fix this this changes the `get_client_by_id` method to also return a
client if it is still initializing.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions