diff options
author | Jens Claes <jensclaes33@gmail.com> | 2023-03-01 11:35:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 11:35:16 +0100 |
commit | 96d3616a531b2626e3ab9b4fa2c5dea03a927717 (patch) | |
tree | b5e99a7d642d079c3ee6124455c6b45f208b1b4f /runtime/lua/vim/lsp.lua | |
parent | aa840ab5668aa9bc013461a48da771f778b39e49 (diff) | |
download | rneovim-96d3616a531b2626e3ab9b4fa2c5dea03a927717.tar.gz rneovim-96d3616a531b2626e3ab9b4fa2c5dea03a927717.tar.bz2 rneovim-96d3616a531b2626e3ab9b4fa2c5dea03a927717.zip |
fix(lsp): callHierarchy methods also require the callHierarchyProvider (#22427)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 61a06ff7a7..fed56ff846 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -46,6 +46,8 @@ lsp._request_name_to_capability = { ['textDocument/typeDefinition'] = { 'typeDefinitionProvider' }, ['textDocument/documentSymbol'] = { 'documentSymbolProvider' }, ['textDocument/prepareCallHierarchy'] = { 'callHierarchyProvider' }, + ['callHierarchy/incomingCalls'] = { 'callHierarchyProvider' }, + ['callHierarchy/outgoingCalls'] = { 'callHierarchyProvider' }, ['textDocument/rename'] = { 'renameProvider' }, ['textDocument/prepareRename'] = { 'renameProvider', 'prepareProvider' }, ['textDocument/codeAction'] = { 'codeActionProvider' }, |