File tree 1 file changed +8
-1
lines changed 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ M.git_switch = function(selected, opts)
596
596
end
597
597
598
598
M .git_branch_add = function (selected , opts )
599
- -- "reload" actions (fzf version >= 0.36) use field_index = "{q}"
599
+ -- "reload" actions (fzf version >= 0.36) use field_index = "{q}"
600
600
-- so the prompt input will be found in `selected[1]`
601
601
-- previous fzf versions (or skim) restart the process instead
602
602
-- so the prompt input will be found in `opts.last_query`
@@ -907,6 +907,13 @@ M.dap_bp_del = function(selected, opts)
907
907
dap_bps .remove (entry .bufnr , entry .line )
908
908
end
909
909
end
910
+ -- removing the BP will update the UI, if we're in session
911
+ -- we also need to broadcast the BP delete to the DAP server
912
+ local session = require (" dap" ).session ()
913
+ if session then
914
+ local bps = dap_bps .get ()
915
+ session :set_breakpoints (bps )
916
+ end
910
917
end
911
918
912
919
return M
You can’t perform that action at this time.
0 commit comments