Update changes to https://github.com/nvim-lua/kickstart.nvim/pull/1534
This commit is contained in:
parent
edb018e88f
commit
3d901a3583
|
@ -36,8 +36,8 @@ return {
|
||||||
{
|
{
|
||||||
'<leader>B',
|
'<leader>B',
|
||||||
function()
|
function()
|
||||||
require 'dap.protocol'
|
|
||||||
local dap = require 'dap'
|
local dap = require 'dap'
|
||||||
|
|
||||||
-- Search for an existing breakpoint on this line in this buffer
|
-- Search for an existing breakpoint on this line in this buffer
|
||||||
---@return dap.SourceBreakpoint bp that was either found, or an empty placeholder
|
---@return dap.SourceBreakpoint bp that was either found, or an empty placeholder
|
||||||
local function find_bp()
|
local function find_bp()
|
||||||
|
@ -48,6 +48,7 @@ return {
|
||||||
return candidate
|
return candidate
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return { condition = '', logMessage = '', hitCondition = '', line = vim.fn.line '.' }
|
return { condition = '', logMessage = '', hitCondition = '', line = vim.fn.line '.' }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -80,7 +81,6 @@ return {
|
||||||
-- User cancelled the selection
|
-- User cancelled the selection
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
props[choice].setter(vim.fn.input {
|
props[choice].setter(vim.fn.input {
|
||||||
prompt = ('[%s] '):format(choice),
|
prompt = ('[%s] '):format(choice),
|
||||||
default = props[choice].value,
|
default = props[choice].value,
|
||||||
|
|
Loading…
Reference in New Issue