When lspEngine==nvim-lsp && opt.sync==true, the request function in request.ts returns response: {err?: lsp.ResponseError, result: unknown}. Otherwise, it returns response.result: unknown.
By unifying the return value to response.result: unknown, Source.#resolve will work when lspEngine==lspoints.
Note: When lspEngine==vim-lsp, Source.#resolve does not work due to another problem.
When
lspEngine==nvim-lsp && opt.sync==true
, the request function inrequest.ts
returnsresponse: {err?: lsp.ResponseError, result: unknown}
. Otherwise, it returnsresponse.result: unknown
.By unifying the return value to
response.result: unknown
, Source.#resolve will work whenlspEngine==lspoints
.Note: When
lspEngine==vim-lsp
, Source.#resolve does not work due to another problem.