diff --git a/lua/tiny-debugger/mode.lua b/lua/tiny-debugger/mode.lua index 349da0f..d158e39 100644 --- a/lua/tiny-debugger/mode.lua +++ b/lua/tiny-debugger/mode.lua @@ -72,6 +72,14 @@ local function setup_default_actions() require("dapui").elements.watches.add(expr) end end + + actions.hover = function() + require("dapui").eval() + end + + actions.eval = function() + require("dapui").float_element("repl") + end end -- actions that also get visual mode mappings