Therefore, executing a code action would hang the LSP server, making it unable to handle other requests. Restarting the LSP server makes everything work again until a code action is executed.
Reproducing the bug
Use ALE with gopls and try executing any code actions. After that, nothing works (jump to definition, diagnostics,...).
Information
VIM version
NVIM v0.9.4
Build type: Release
Operating System: macOS 14.1.1
What went wrong
ALE doesn't reply to the
workspace/applyEdit
request from the LSP server, which is required in the specification https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_applyEditTherefore, executing a code action would hang the LSP server, making it unable to handle other requests. Restarting the LSP server makes everything work again until a code action is executed.
Reproducing the bug
Use ALE with
gopls
and try executing any code actions. After that, nothing works (jump to definition, diagnostics,...).