File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -57,21 +57,15 @@ return {
57
57
local props = {
58
58
[' Condition' ] = {
59
59
value = bp .condition ,
60
- setter = function (v )
61
- bp .condition = v
62
- end ,
60
+ setter = function (v ) bp .condition = v end ,
63
61
},
64
62
[' Hit Condition' ] = {
65
63
value = bp .hitCondition ,
66
- setter = function (v )
67
- bp .hitCondition = v
68
- end ,
64
+ setter = function (v ) bp .hitCondition = v end ,
69
65
},
70
66
[' Log Message' ] = {
71
67
value = bp .logMessage ,
72
- setter = function (v )
73
- bp .logMessage = v
74
- end ,
68
+ setter = function (v ) bp .logMessage = v end ,
75
69
},
76
70
}
77
71
local menu_options = {}
@@ -80,9 +74,7 @@ return {
80
74
end
81
75
vim .ui .select (menu_options , {
82
76
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 ,
86
78
}, function (choice )
87
79
if choice == nil then
88
80
-- User cancelled the selection
You can’t perform that action at this time.
0 commit comments