aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lsp.txt
diff options
context:
space:
mode:
authorcbarrete <62146989+cbarrete@users.noreply.github.com>2020-07-18 21:10:09 +0200
committerGitHub <noreply@github.com>2020-07-18 15:10:09 -0400
commit08efa7037e05ce229150d17db11b1b1c2419631f (patch)
tree0064d34f56ed96f82094970d60870d02773349cc /runtime/doc/lsp.txt
parenta02a267f8ad4b6d8b9038d2c7d9b85f03e734814 (diff)
downloadrneovim-08efa7037e05ce229150d17db11b1b1c2419631f.tar.gz
rneovim-08efa7037e05ce229150d17db11b1b1c2419631f.tar.bz2
rneovim-08efa7037e05ce229150d17db11b1b1c2419631f.zip
lsp: Add support for call hierarchies (#12556)
* LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Jump to call location Jump to the call site instead of jumping to the definition of the caller/callee. * LSP: add tests for the call hierarchy callbacks * Fix linting error Co-authored-by: Cédric Barreteau <>
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r--runtime/doc/lsp.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 15587955de..9f878ad8c7 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -837,6 +837,16 @@ workspace_symbol({query}) *vim.lsp.buf.workspace_symbol()*
enter a string on the command line. An empty string means no
filtering is done.
+incoming_calls() *vim.lsp.buf.incoming_calls()*
+ Lists all the call sites of the symbol under the cursor in the
+ |quickfix| window. If the symbol can resolve to multiple
+ items, the user can pick one in the |inputlist|.
+
+outgoing_calls() *vim.lsp.buf.outgoing_calls()*
+ Lists all the items that are called by the symbol under the
+ cursor in the |quickfix| window. If the symbol can resolve to
+ multiple items, the user can pick one in the |inputlist|.
+
==============================================================================
Lua module: vim.lsp.callbacks *lsp-callbacks*