diff options
author | SamPosh <samselvaprabu@gmail.com> | 2023-04-24 16:40:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 16:40:07 +0530 |
commit | 9004013a8da9abac30dc17ff71d6b5fee137076a (patch) | |
tree | 82c19c1c12b7d76143c02820743d365e268f468e /lua | |
parent | 9924f7e0a0fbc2caea91007a5d66cb9aa74827db (diff) |
Dapui.toggle is added
Diffstat (limited to 'lua')
-rw-r--r-- | lua/kickstart/plugins/debug.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 000bcb8..14f422f 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -72,7 +72,9 @@ return { }, }, } - + -- toggle to see last session result. Without this ,you can't see session output in case of unhandled exception. + vim.keymap.set("n", "<F7>", dapui.toggle) + dap.listeners.after.event_initialized['dapui_config'] = dapui.open dap.listeners.before.event_terminated['dapui_config'] = dapui.close dap.listeners.before.event_exited['dapui_config'] = dapui.close |