diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index ecfb28fb..6c5d9b86 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -36,8 +36,8 @@ return { { 'B', function() - require 'dap.protocol' local dap = require 'dap' + -- Search for an existing breakpoint on this line in this buffer ---@return dap.SourceBreakpoint bp that was either found, or an empty placeholder local function find_bp() @@ -48,6 +48,7 @@ return { return candidate end end + return { condition = '', logMessage = '', hitCondition = '', line = vim.fn.line '.' } end @@ -80,7 +81,6 @@ return { -- User cancelled the selection return end - props[choice].setter(vim.fn.input { prompt = ('[%s] '):format(choice), default = props[choice].value,