From 73c8319d4e39e963eb075c973069c02bbce886b9 Mon Sep 17 00:00:00 2001 From: elevin72 Date: Mon, 3 May 2021 11:29:44 +0300 Subject: [PATCH] fix(eval): hovers show content now (#8) --- lua/dapui/hover.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/dapui/hover.lua b/lua/dapui/hover.lua index 703ffb7..7ca835c 100644 --- a/lua/dapui/hover.lua +++ b/lua/dapui/hover.lua @@ -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})