From 49a9cc7860d967dfdac6cc394dd06563853f78ac Mon Sep 17 00:00:00 2001 From: Will Ehrendreich Date: Tue, 7 Nov 2023 16:02:13 -0600 Subject: [PATCH] fix(hover): just straight up passing it off to neovim. --- lua/ionide/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/ionide/init.lua b/lua/ionide/init.lua index ebf6c36..a56917a 100644 --- a/lua/ionide/init.lua +++ b/lua/ionide/init.lua @@ -680,11 +680,11 @@ M["textDocument/hover"] = function(error, result, context, config) -- .. "result is: \n" -- .. vim.inspect({ error or "", result or "", context or "", config or "" }) -- ) - if result then - if result.content then - vim.lsp.handlers.hover(error or {}, result.content.message or {}, context or {}, config or {}) - end - end + -- if result then + -- if result.content then + vim.lsp.handlers.hover(error or {}, result or {}, context or {}, config or {}) + -- end + -- end -- vim.lsp.handlers.hover(error or {}, result or {}, context or {}, config or {}) end