Skip to content

Commit

Permalink
fix(hover): just straight up passing it off to neovim.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Ehrendreich authored and Will Ehrendreich committed Nov 7, 2023
1 parent 2d47ce2 commit 49a9cc7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/ionide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 49a9cc7

Please sign in to comment.