Skip to content

Commit 222769b

Browse files
committed
Fix formatting for oriori1703#10
1 parent 992db9c commit 222769b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

lua/kickstart/plugins/debug.lua

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,15 @@ return {
5757
local props = {
5858
['Condition'] = {
5959
value = bp.condition,
60-
setter = function(v)
61-
bp.condition = v
62-
end,
60+
setter = function(v) bp.condition = v end,
6361
},
6462
['Hit Condition'] = {
6563
value = bp.hitCondition,
66-
setter = function(v)
67-
bp.hitCondition = v
68-
end,
64+
setter = function(v) bp.hitCondition = v end,
6965
},
7066
['Log Message'] = {
7167
value = bp.logMessage,
72-
setter = function(v)
73-
bp.logMessage = v
74-
end,
68+
setter = function(v) bp.logMessage = v end,
7569
},
7670
}
7771
local menu_options = {}
@@ -80,9 +74,7 @@ return {
8074
end
8175
vim.ui.select(menu_options, {
8276
prompt = 'Edit Breakpoint',
83-
format_item = function(item)
84-
return ('%s: %s'):format(item, props[item].value)
85-
end,
77+
format_item = function(item) return ('%s: %s'):format(item, props[item].value) end,
8678
}, function(choice)
8779
if choice == nil then
8880
-- User cancelled the selection

0 commit comments

Comments
 (0)