File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ return {
3636 {
3737 ' <leader>B' ,
3838 function ()
39- require ' dap.protocol'
4039 local dap = require ' dap'
40+
4141 -- Search for an existing breakpoint on this line in this buffer
4242 --- @return dap.SourceBreakpoint bp that was either found , or an empty placeholder
4343 local function find_bp ()
@@ -46,6 +46,7 @@ return {
4646 for _ , candidate in ipairs (buf_bps ) do
4747 if candidate .line and candidate .line == vim .fn .line ' .' then return candidate end
4848 end
49+
4950 return { condition = ' ' , logMessage = ' ' , hitCondition = ' ' , line = vim .fn .line ' .' }
5051 end
5152
@@ -78,7 +79,6 @@ return {
7879 -- User cancelled the selection
7980 return
8081 end
81-
8282 props [choice ].setter (vim .fn .input {
8383 prompt = (' [%s] ' ):format (choice ),
8484 default = props [choice ].value ,
You can’t perform that action at this time.
0 commit comments