Skip to content

Commit 11a0751

Browse files
committed
Update changes to nvim-lua#1534
1 parent 4b4441c commit 11a0751

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/kickstart/plugins/debug.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)