diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2023-01-22 18:54:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-22 18:54:09 +0100 |
commit | 8e52d8a394799ede43ae5e80574f12dede9bc13e (patch) | |
tree | b5f377e5c3d5ec56f0db28fe0a4d07de910643a6 /test/functional/vimscript/ctx_functions_spec.lua | |
parent | 63e67468b45edcc899de24a1940985bccf68f66a (diff) | |
download | rneovim-8e52d8a394799ede43ae5e80574f12dede9bc13e.tar.gz rneovim-8e52d8a394799ede43ae5e80574f12dede9bc13e.tar.bz2 rneovim-8e52d8a394799ede43ae5e80574f12dede9bc13e.zip |
fix(lsp): assert workspace/applyEdit receives params (#21945)
According to the specification `workspace/applyEdit` must be called with
`ApplyWorkspaceEditParams`.
So far the client just returned, which could lead to a misleading error
on the server side because `workspace/applyEdit` must respond with a
`ApplyWorkspaceEditResult`.
This adds an assertion to clarify that the server is violating the
specification.
See https://github.com/neovim/neovim/issues/21925
Diffstat (limited to 'test/functional/vimscript/ctx_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions