issue #234 notify failed

pull/235/head
ray-x 2 years ago
parent 1f3b01acd1
commit b954695e00

@ -244,7 +244,7 @@ local function documentHighlight(bufnr)
vim.lsp.handlers['textDocument/documentHighlight'] = function(err, result, ctx)
local buffer = ctx.bufnr or api.nvim_get_current_buf()
if err then
vim.notify(err, vim.lsp.log_levels.ERROR)
vim.notify('failed to highlight symbol' .. vim.inspect(err), vim.lsp.log_levels.ERROR)
return
end
if not result or not result[1] or not result[1]['range'] then

Loading…
Cancel
Save