summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_extui/shared.lua
diff options
context:
space:
mode:
authortao <2471314@gmail.com>2025-10-28 01:03:45 +0800
committerGitHub <noreply@github.com>2025-10-27 10:03:45 -0700
commita768d0a95b52bc22cc0b6c3d180980fc354770e3 (patch)
tree0a733c090982ca9c4562d389df1042a4086a3f1d /runtime/lua/vim/_extui/shared.lua
parent29e093c8f262007dd87412cf4a4c47cefef3c963 (diff)
fix(lsp): stop repeatedly resuming dead coroutine #35743
Problem: Error extracting content-length causes all future coroutine resumes to fail. Solution: Replace coroutine.wrap with coroutine.create in create_read_loop so that we can check its status and catch any errors, allowing us to stop the lsp client and avoid repeatedly resuming the dead coroutine.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions