dap ui eval

This commit is contained in:
Marco 2023-10-09 14:03:25 +02:00
parent a12fa2bf8a
commit 394911982d

View File

@ -5,8 +5,12 @@ dap.listeners.after.event_initialized["dapui_config"] = function()
dapui.open()
end
dap.listeners.before.event_terminated["dapui_config"] = function()
dapui.close()
-- We do not close on this event, but only when we press F4
--dapui.close()
end
dap.listeners.before.event_exited["dapui_config"] = function()
dapui.close()
end
vim.keymap.set('n', '<F4>', function() dapui.close() end)
vim.keymap.set('n', '<M-k>', function() dapui.eval() end)