neovim/test/functional/fixtures
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
..
autoload refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
bin eval: executable(), exepath() accept strings only 2020-12-11 21:20:20 -05:00
lua refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
middle refactor: format test/* 2024-01-03 02:09:29 +01:00
nvim refactor: format test/* 2024-01-03 02:09:29 +01:00
pack/foo refactor: format test/* 2024-01-03 02:09:29 +01:00
start/nvim-leftpad refactor: format test/* 2024-01-03 02:09:29 +01:00
wildpum vim-patch:9.0.2037: A few remaining cmdline completion issues with C-E/Y (#25686) 2023-10-17 21:42:34 +08:00
api_level_0.mpack
api_level_1.mpack
api_level_2.mpack
api_level_3.mpack
api_level_4.mpack
api_level_5.mpack NVIM v0.3.2 2018-12-31 01:06:17 +01:00
api_level_6.mpack fix api_level_6.mpack 2019-09-15 17:28:42 -07:00
api_level_7.mpack NVIM v0.5.0 2021-07-02 17:54:29 +02:00
api_level_8.mpack NVIM 0.6.0 2021-11-30 18:20:42 +01:00
api_level_9.mpack NVIM 0.7 2022-04-15 13:38:44 +02:00
api_level_10.mpack NVIM v0.8.0 2022-09-30 17:15:13 +02:00
api_level_11.mpack NVIM v0.9.0 2023-04-07 13:26:29 +02:00
bigfile_oneline.txt
bigfile.txt
CMakeLists.txt build: create separate targets for nvim with and without runtime files 2024-01-20 12:59:27 +01:00
cmdscript.cmd win: jobstart(), system(): $PATHEXT-resolve exe 2019-07-21 20:51:37 +02:00
fake-lsp-server.lua feat(lsp): set workDoneToken in initialize request (#28182) 2024-04-05 13:24:39 +02:00
filename_with_unicode_ααα fix: find multibyte file name in line (#20519) 2022-10-07 09:43:16 +08:00
non_executable.txt
printargs-test.c build: remove PVS 2023-11-12 21:26:39 +01:00
printenv-test.c build: remove PVS 2023-11-12 21:26:39 +01:00
shell_data.txt
shell-test.c fix(terminal): don't pass incomplete UTF-8 sequence to libvterm (#27922) 2024-03-19 16:56:51 +08:00
smile2.cat api: allow open non-current buffer as terminal (+ xmas bonus) 2021-03-12 14:44:47 +01:00
startup-fail.lua feat(lua): exit 1 on Lua "-l" script error 2023-01-05 17:10:02 +01:00
startup.lua feat(lua): send "--" literally to Lua "-l" script 2023-01-05 17:10:02 +01:00
streams-test.c build: remove PVS 2023-11-12 21:26:39 +01:00
tty-test.c build: remove PVS 2023-11-12 21:26:39 +01:00