From b954695e00957176a00a83873319e28087c523d2 Mon Sep 17 00:00:00 2001 From: ray-x Date: Mon, 26 Sep 2022 11:36:21 +1000 Subject: [PATCH] issue #234 notify failed --- lua/navigator/dochighlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/dochighlight.lua b/lua/navigator/dochighlight.lua index 7abe9f9..007f6e5 100644 --- a/lua/navigator/dochighlight.lua +++ b/lua/navigator/dochighlight.lua @@ -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