Fix formatting for https://github.com/oriori1703/kickstart-modular.nvim/pull/10
This commit is contained in:
parent
992db9c466
commit
222769ba31
|
@ -57,21 +57,15 @@ return {
|
|||
local props = {
|
||||
['Condition'] = {
|
||||
value = bp.condition,
|
||||
setter = function(v)
|
||||
bp.condition = v
|
||||
end,
|
||||
setter = function(v) bp.condition = v end,
|
||||
},
|
||||
['Hit Condition'] = {
|
||||
value = bp.hitCondition,
|
||||
setter = function(v)
|
||||
bp.hitCondition = v
|
||||
end,
|
||||
setter = function(v) bp.hitCondition = v end,
|
||||
},
|
||||
['Log Message'] = {
|
||||
value = bp.logMessage,
|
||||
setter = function(v)
|
||||
bp.logMessage = v
|
||||
end,
|
||||
setter = function(v) bp.logMessage = v end,
|
||||
},
|
||||
}
|
||||
local menu_options = {}
|
||||
|
@ -80,9 +74,7 @@ return {
|
|||
end
|
||||
vim.ui.select(menu_options, {
|
||||
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)
|
||||
if choice == nil then
|
||||
-- User cancelled the selection
|
||||
|
|
Loading…
Reference in New Issue