We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44ae63 commit 6246e57Copy full SHA for 6246e57
lua/kickstart/plugins/debug.lua
@@ -113,6 +113,10 @@ return {
113
prompt = 'Edit Breakpoint',
114
format_item = function(item) return ('%s: %s'):format(item, props[item].value) end,
115
}, function(choice)
116
+ if choice == nil then
117
+ -- User cancelled the selection
118
+ return
119
+ end
120
props[prompt].setter(vim.fn.input {
121
prompt = ('[%s] '):format(prompt),
122
default = props[prompt].value,
0 commit comments