diff options
author | Marcin Szamotulski <coot@coot.me> | 2024-03-31 20:43:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-31 20:43:34 +0200 |
commit | 01691c5447d9222a0e84f77b7043251580de7dee (patch) | |
tree | f76c85705aee489514b870a387a0e52eee71502b /runtime/lua/vim/snippet.lua | |
parent | b25753381c6049132c5c8d02eb62df99f8a958fd (diff) | |
download | rneovim-01691c5447d9222a0e84f77b7043251580de7dee.tar.gz rneovim-01691c5447d9222a0e84f77b7043251580de7dee.tar.bz2 rneovim-01691c5447d9222a0e84f77b7043251580de7dee.zip |
fix(lsp): abort callHierarchy on no result (#28102)
The `callHierarchy` function should warn the user when
`textDocument/prepareCallHierarchy` didn't resolve an entity and
return, rather than calling the `callHierarchy/{incoming,outgoing}Calls`
method with an empty object - which is encoded as an empty list (which
doesn't respect language server specification for the
`callHierarchy/incomingCalls` call).
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
0 files changed, 0 insertions, 0 deletions