diff options
Diffstat (limited to '')
| -rw-r--r-- | config/nvim/lua/plugins/dapui.lua | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/config/nvim/lua/plugins/dapui.lua b/config/nvim/lua/plugins/dapui.lua index ad2b6b6..f3fcb9c 100644 --- a/config/nvim/lua/plugins/dapui.lua +++ b/config/nvim/lua/plugins/dapui.lua @@ -7,8 +7,12 @@ return { }, opts = { icons = { - expanded = "[-]", - collapsed = "[+]", + expanded = "▼", + collapsed = "▶", + current_frame = "→", + }, + controls = { + enabled = false, }, mappings = { open = "o", @@ -22,6 +26,7 @@ return { { elements = { "repl", + "scopes", }, size = 0.3, position = "bottom", @@ -40,4 +45,27 @@ return { max_type_length = nil, }, }, + keys = { + { + "<F6>", + function() + require("dapui").toggle() + end, + desc = "Toggle debug UI", + }, + { + "<Leader>dh", + function() + require("dap.ui.widgets").hover() + end, + desc = "Debug hover", + }, + { + "<Leader>dp", + function() + require("dap.ui.widgets").preview() + end, + desc = "Debug preview", + }, + }, } |
