We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97bebb6 commit 3739fc5Copy full SHA for 3739fc5
lua/kickstart/plugins/debug.lua
@@ -85,6 +85,10 @@ return {
85
prompt = 'Edit Breakpoint',
86
format_item = function(item) return ('%s: %s'):format(item, props[item].value) end,
87
}, function(choice)
88
+ if choice == nil then
89
+ -- User cancelled the selection
90
+ return
91
+ end
92
props[prompt].setter(vim.fn.input {
93
prompt = ('[%s] '):format(prompt),
94
default = props[prompt].value,
0 commit comments