show error messages

neovim_0_5
ray-x 3 years ago
parent 56479a0339
commit b9f8ed3c55

@ -17,7 +17,8 @@ local function ref_hdlr(err, api, locations, num, bufnr)
-- log("num", num)
-- log("bfnr", bufnr)
if err ~= nil then
print('ref callback error, lsp may not ready', err)
print('lsp ref callback error', err, api, vim.inspect(locations))
log('ref callback error, lsp may not ready', err, api, vim.inspect(locations))
return
end
if type(locations) ~= 'table' then

Loading…
Cancel
Save