neovim/runtime/lua/vim/lsp
Mathias Fußenegger 8e52d8a394
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
2023-01-22 18:54:09 +01:00
..
_snippet.lua refactor(lua): reformat with stylua 0.14.0 (#19264) 2022-07-07 18:27:18 +02:00
buf.lua feat(lsp): add triggerKind option for vim.lsp.buf.code_action (#21905) 2023-01-21 08:22:34 +01:00
codelens.lua feat(lsp): add function to clear codelens (#21504) 2022-12-31 16:16:21 +01:00
diagnostic.lua docs(gen): support language annotation in docstrings 2022-12-02 16:05:00 +01:00
handlers.lua fix(lsp): assert workspace/applyEdit receives params (#21945) 2023-01-22 18:54:09 +01:00
health.lua feat(lsp): show active clients in :checkhealth vim.lsp (#21670) 2023-01-08 09:23:08 +01:00
log.lua fix(lsp): correct some type annotations (#21365) 2022-12-09 19:18:31 +01:00
protocol.lua feat(lsp): add triggerKind option for vim.lsp.buf.code_action (#21905) 2023-01-21 08:22:34 +01:00
rpc.lua docs(lsp): update buf_notify and rpc.notify params types (#21753) 2023-01-11 20:17:10 +01:00
semantic_tokens.lua fix(lsp): revert semantic token gravity change from #21574 (#21763) 2023-01-12 07:13:52 +01:00
sync.lua docs: fix typos (#21196) 2022-11-29 09:45:48 +08:00
tagfunc.lua refactor(lsp): make the use of local aliases more consistent 2022-07-15 17:39:26 +02:00
util.lua docs(lsp): fix type annotation on convert_input_to_markdown_lines (#21772) 2023-01-12 15:51:19 +01:00