fix styleua issue

This commit is contained in:
Brian Lehrer 2025-07-04 08:53:17 -07:00 committed by Ori Perry
parent 783c91f0e2
commit 24088e59e9
1 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,6 @@ return {
return { condition = '', logMessage = '', hitCondition = '', line = vim.fn.line '.' } return { condition = '', logMessage = '', hitCondition = '', line = vim.fn.line '.' }
end end
-- Elicit customization via a UI prompt -- Elicit customization via a UI prompt
---@param bp dap.SourceBreakpoint a breakpoint ---@param bp dap.SourceBreakpoint a breakpoint
local function customize_bp(bp) local function customize_bp(bp)
@ -82,7 +81,9 @@ return {
end end
vim.ui.select(menu_options, { vim.ui.select(menu_options, {
prompt = 'Edit Breakpoint', prompt = 'Edit Breakpoint',
format_item = function(item) return ('%s: %s'):format(item, props[item].value) end, format_item = function(item)
return ('%s: %s'):format(item, props[item].value)
end,
}, function(choice) }, function(choice)
if choice == nil then if choice == nil then
-- User cancelled the selection -- User cancelled the selection