aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/inspect.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-10-31 04:44:45 -0700
committerGitHub <noreply@github.com>2021-10-31 04:44:45 -0700
commit4da0351651848e6c6c52903518fcd9ed15e087be (patch)
tree67f07e04b902a25599d95d5607bf43fe969625e1 /runtime/lua/vim/inspect.lua
parent653d96329306d52a4c143a71acd59e2a5b8c63cc (diff)
downloadrneovim-4da0351651848e6c6c52903518fcd9ed15e087be.tar.gz
rneovim-4da0351651848e6c6c52903518fcd9ed15e087be.tar.bz2
rneovim-4da0351651848e6c6c52903518fcd9ed15e087be.zip
fix(lsp): add placeholder cancel function (#16189)
Fixes a bug introduced by https://github.com/neovim/neovim/pull/15949 When no supported clients for a given method are available, buf_request returns early with a nil value. If buf_request_sync is called on a buffer with no clients that support a given method, the returned `cancel` method (which is nil), is invoked, resulting in an error. Solution: return an empty function handle
Diffstat (limited to 'runtime/lua/vim/inspect.lua')
0 files changed, 0 insertions, 0 deletions