mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
lsp: add $/progress report (#13294)
Heavily inspired by https://github.com/nvim-lua/lsp-status.nvim. listen to the LspProgressUpdate event to update your statusline.
This commit is contained in:
@@ -569,6 +569,8 @@ function lsp.start_client(config)
|
||||
-- TODO(remove-callbacks)
|
||||
callbacks = handlers;
|
||||
handlers = handlers;
|
||||
-- for $/progress report
|
||||
messages = { name = name, messages = {}, progress = {}, status = {} }
|
||||
}
|
||||
|
||||
-- Store the uninitialized_clients for cleanup in case we exit before initialize finishes.
|
||||
|
||||
Reference in New Issue
Block a user