diff options
| author | Ashley Hauck <953151+khyperia@users.noreply.github.com> | 2026-04-23 14:20:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-23 08:20:58 -0400 |
| commit | 7e006b06c4db1464be9c4e2826774fe6f0a4f880 (patch) | |
| tree | 04f97bfd1a86bf5abb9a9c2b967c5377903b8d7b /runtime/lua/vim/provider/python.lua | |
| parent | ecb8402197f1883feec1c7a9f9d02a39912ae04a (diff) | |
fix(lsp): callHierarchy/outgoingCalls ranges are relative to caller, not callee #39336
Problem:
The fromRanges field of the result of callHierarchy/outgoingCalls is
documented as being relative to the caller. Using
vim.lsp.buf.outgoing_calls() opened the qflist with an entry with the
callee's filename, but the caller's line number.
Solution:
Open the qflist with the callers file (the bufnr from the request),
rather than the callees (the uri from the resulting CallHierarchyItem)
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
