Skip to content

Commit

Permalink
fix(eval): hovers show content now (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevin72 authored May 3, 2021
1 parent af1361c commit 73c8319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dapui/hover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function M.eval(expr)
print("Couldn't evaluate expression '" .. expr .. "' in current frame.")
return
end
local val = " "..#response.result.." "
local val = " "..response.result.." "
local hover_win = require("dapui.windows.float").open_float({height = 1, width = #val})
local buf = hover_win:get_buf()
vim.api.nvim_buf_set_lines(buf, 0, -1, true, {val})
Expand Down

0 comments on commit 73c8319

Please sign in to comment.