Files
neovim/runtime/lua/vim
Mathias Fußenegger 9af3559643 feat(lsp): set workDoneToken in initialize request (#28182)
Problem:

Some servers don't report progress during initialize unless the client
sets the `workDoneToken`

See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initiatingWorkDoneProgress

In particular:

> There is no specific client capability signaling whether a client will
> send a progress token per request. The reason for this is that this is
> in many clients not a static aspect and might even change for every
> request instance for the same request type. So the capability is signal
> on every request instance by the presence of a workDoneToken property.

And:

> Servers can also initiate progress reporting using the
> window/workDoneProgress/create request. This is useful if the server
> needs to report progress outside of a request (for example the server
> needs to re-index a database). The token can then be used to report
> progress using the same notifications used as for client initiated
> progress.

So far progress report functionality was relying entirely on the latter.

Solution:

Set a `workDoneToken`

Closes https://github.com/neovim/neovim/issues/27938
2024-04-05 13:24:39 +02:00
..
2024-02-21 06:29:53 +08:00
2024-03-06 10:45:22 +00:00
2024-03-09 11:21:55 +00:00
2024-03-09 11:21:55 +00:00
2024-01-16 09:33:10 +00:00
2024-01-19 11:54:04 +00:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-06 10:45:22 +00:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-03-09 11:21:55 +00:00
2024-03-09 11:21:55 +00:00