inspect: hover with K, eval with E
This commit is contained in:
1 file changed
+8
@@ -72,6 +72,14 @@ local function setup_default_actions()
|
|||||||
require("dapui").elements.watches.add(expr)
|
require("dapui").elements.watches.add(expr)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
actions.hover = function()
|
||||||
|
require("dapui").eval()
|
||||||
|
end
|
||||||
|
|
||||||
|
actions.eval = function()
|
||||||
|
require("dapui").float_element("repl")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- actions that also get visual mode mappings
|
-- actions that also get visual mode mappings
|
||||||
|
|||||||
Reference in new issue
Block a user