diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index eab0a958..4fe9a5af 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -117,9 +117,10 @@ return { -- User cancelled the selection return end - props[prompt].setter(vim.fn.input { - prompt = ('[%s] '):format(prompt), - default = props[prompt].value, + props[choice].setter(vim.fn.input { + prompt = ('[%s] '):format(choice), + default = props[choice].value, + }) -- Set breakpoint for current line, with customizations (see h:dap.set_breakpoint())