diff options
| author | Srinesh Nisala <srineshnisala@gmail.com> | 2023-11-17 17:10:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-17 03:40:52 -0800 |
| commit | 48347089666d5b77d054088aa72e4e0b58026e6e (patch) | |
| tree | 627a975b7cb85b984ad24606392a4428dcdb21bd | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar.gz nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar.bz2 nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar.lz nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar.xz nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.tar.zst nvim-lspconfig-48347089666d5b77d054088aa72e4e0b58026e6e.zip | |
fix: remove outdated jdtls progress message handler #2899
closes #2897
| -rw-r--r-- | doc/server_configurations.md | 9 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 9 | ||||
| -rw-r--r-- | lua/lspconfig/server_configurations/jdtls.lua | 1 |
3 files changed, 8 insertions, 11 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 4941e987..43b72854 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -4856,11 +4856,10 @@ require'lspconfig'.jdtls.setup{} - `handlers` : ```lua { - ["$/progress"] = <function 1>, - ["language/status"] = <function 2>, - ["textDocument/codeAction"] = <function 3>, - ["textDocument/rename"] = <function 4>, - ["workspace/applyEdit"] = <function 5> + ["language/status"] = <function 1>, + ["textDocument/codeAction"] = <function 2>, + ["textDocument/rename"] = <function 3>, + ["workspace/applyEdit"] = <function 4> } ``` - `init_options` : diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 4941e987..43b72854 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -4856,11 +4856,10 @@ require'lspconfig'.jdtls.setup{} - `handlers` : ```lua { - ["$/progress"] = <function 1>, - ["language/status"] = <function 2>, - ["textDocument/codeAction"] = <function 3>, - ["textDocument/rename"] = <function 4>, - ["workspace/applyEdit"] = <function 5> + ["language/status"] = <function 1>, + ["textDocument/codeAction"] = <function 2>, + ["textDocument/rename"] = <function 3>, + ["workspace/applyEdit"] = <function 4> } ``` - `init_options` : diff --git a/lua/lspconfig/server_configurations/jdtls.lua b/lua/lspconfig/server_configurations/jdtls.lua index 25422faf..9754a94e 100644 --- a/lua/lspconfig/server_configurations/jdtls.lua +++ b/lua/lspconfig/server_configurations/jdtls.lua @@ -120,7 +120,6 @@ return { ['textDocument/rename'] = on_textdocument_rename, ['workspace/applyEdit'] = on_workspace_applyedit, ['language/status'] = vim.schedule_wrap(on_language_status), - ['$/progress'] = vim.schedule_wrap(on_language_status), }, }, docs = { |
