diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2020-12-20 21:59:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 21:59:25 +0100 |
commit | 1e5913483469528c7e8d1f927b28c0185eb94941 (patch) | |
tree | 9544669134d0e97aae394f43b787b2ccd3959a60 /runtime/lua/vim/lsp/protocol.lua | |
parent | b1711e6f922598f00c4d2c879094afdbba44c187 (diff) | |
download | rneovim-1e5913483469528c7e8d1f927b28c0185eb94941.tar.gz rneovim-1e5913483469528c7e8d1f927b28c0185eb94941.tar.bz2 rneovim-1e5913483469528c7e8d1f927b28c0185eb94941.zip |
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.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index fd86d8bb97..b785d2f586 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -728,6 +728,9 @@ function protocol.make_client_capabilities() dynamicRegistration = false; }; experimental = nil; + window = { + workDoneProgress = true; + } } end |