diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2021-03-07 17:20:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 17:20:09 +0100 |
commit | 5c4fbe34f903d803aab214872e4e2cac8112a552 (patch) | |
tree | ad8e7bd5c31fed344884e02e5d197f5eccc0c172 /runtime/lua/vim/lsp | |
parent | 667e3bfb6e9dcd3287f2082edd83068d5428f3af (diff) | |
parent | e55c27fc6e32115d22b82422a95e56e2e9205e9a (diff) | |
download | rneovim-5c4fbe34f903d803aab214872e4e2cac8112a552.tar.gz rneovim-5c4fbe34f903d803aab214872e4e2cac8112a552.tar.bz2 rneovim-5c4fbe34f903d803aab214872e4e2cac8112a552.zip |
Merge pull request #13993 from teto/gendoc
improve vimdoc generation
Diffstat (limited to 'runtime/lua/vim/lsp')
-rw-r--r-- | runtime/lua/vim/lsp/handlers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua index 7819bddcb9..0cf80e1443 100644 --- a/runtime/lua/vim/lsp/handlers.lua +++ b/runtime/lua/vim/lsp/handlers.lua @@ -26,7 +26,7 @@ end -- @msg of type ProgressParams -- Basically a token of type number/string -local function progress_callback(_, _, params, client_id) +local function progress_handler(_, _, params, client_id) local client = vim.lsp.get_client_by_id(client_id) local client_name = client and client.name or string.format("id=%d", client_id) if not client then @@ -62,7 +62,7 @@ local function progress_callback(_, _, params, client_id) end --@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#progress -M['$/progress'] = progress_callback +M['$/progress'] = progress_handler --@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#window_workDoneProgress_create M['window/workDoneProgress/create'] = function(_, _, params, client_id) |