diff options
| author | Eike <56123922+moguls753@users.noreply.github.com> | 2025-05-04 23:38:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 14:38:01 -0700 |
| commit | 0862c1036a8e45c594ed279dd4576719f93614c5 (patch) | |
| tree | 2f7674f97dfde12c04bb816c31729e0a1629eed6 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | df345503ebae919f27649ffd273043de24442ffb (diff) | |
| download | rneovim-0862c1036a8e45c594ed279dd4576719f93614c5.tar.gz rneovim-0862c1036a8e45c594ed279dd4576719f93614c5.tar.bz2 rneovim-0862c1036a8e45c594ed279dd4576719f93614c5.zip | |
fix(lsp): check if client is stopping before reuse #33796
Problem:
Stopping a language server and then calling vim.lsp.start() with the same name/root will return the old language server that's in the middle of shutting down. vim.lsp.start() won't return a new server until the old process has terminated.
Solution:
Introducing a client._is_stopping field that tracks the shutdown phase, preventing the client from being reused.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions