fix styleua issue
This commit is contained in:
parent
42ae4216fc
commit
d4bb4c01e3
|
@ -80,7 +80,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)
|
||||||
|
@ -110,7 +109,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
|
||||||
|
|
Loading…
Reference in New Issue