neovim/runtime/lua/vim/lsp
runiq 7e7fdca163
fix(lsp): unify progress message handling (#18040)
The LSP progress handler would put non-progress messages (such as from
clangd or pyls; not part of the LSP spec) directly into
`client.messages`, while `vim.lsp.util.get_progress_messages()` would
try to fetch them from `client.messages.messages` instead (and come up
empty everytime). This would result in these messages never being
cleaned up by `get_progress_messages()`.

This commit fixes that by treating those messages like show-once
progress messages (by setting `done=true` immediately).
2022-04-20 18:40:52 +02:00
..
_snippet.lua fix(lsp): correctly parse LSP snippets #15579 2021-09-14 04:31:41 -07:00
buf.lua fix(lsp): avoid nil workspace/symbol query (#17107) 2022-01-15 23:08:35 -08:00
codelens.lua feat(lsp): add per-client commands (#16101) 2021-11-01 03:14:59 -07:00
diagnostic.lua feat(diagnostic): add "code" to the diagnostic structure (#17510) 2022-03-02 18:42:27 -07:00
handlers.lua fix(lsp): unify progress message handling (#18040) 2022-04-20 18:40:52 +02:00
health.lua fix(healthcheck): update builtins to the new convention #15914 2021-10-05 05:05:33 -07:00
log.lua chore: fix typos (#16506) 2021-12-28 18:15:16 +01:00
protocol.lua docs(lsp): fix resolve_capabilities docstring (#16577) 2021-12-08 11:01:07 -07:00
rpc.lua chore: fix typos (#16506) 2021-12-28 18:15:16 +01:00
sync.lua fix(lsp): handle insertion of previous line (#17618) 2022-03-06 07:52:11 -08:00
tagfunc.lua docs: mark tagfunc.lua methods as private 2021-11-18 11:30:09 -07:00
util.lua fix(lsp): unify progress message handling (#18040) 2022-04-20 18:40:52 +02:00