Fix rename support.

This commit is contained in:
Ashkan Kiani
2019-11-20 16:35:11 -08:00
parent 1e16b3cf28
commit 93beae4f31
2 changed files with 12 additions and 18 deletions

View File

@@ -44,6 +44,7 @@ local function request(method, params, callback)
callback = {callback, 'f'};
}
return vim.lsp.buf_request(0, method, params, function(err, _, result, client_id)
local _ = log.debug() and log.debug("vim.lsp.buf", method, client_id, err, result)
if err then error(tostring(err)) end
return callback(err, method, result, client_id)
end)