aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Patti <feoh@feoh.org>2023-04-24 15:50:39 -0400
committerGitHub <noreply@github.com>2023-04-24 15:50:39 -0400
commit36842aa368cbe3df3059c25db1bd2d15bc731a94 (patch)
tree82c19c1c12b7d76143c02820743d365e268f468e
parent9924f7e0a0fbc2caea91007a5d66cb9aa74827db (diff)
parent9004013a8da9abac30dc17ff71d6b5fee137076a (diff)
Merge pull request #281 from SamPosh/dapui_toggle
Dapui.toggle keymap is added
-rw-r--r--lua/kickstart/plugins/debug.lua4
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