♻️ refactor(nvim): load persistent-breakpoints as a dependency for nvim-dap

This commit is contained in:
Sergio Laín 2024-05-31 21:06:50 +02:00
parent 71ea7a60bc
commit e90e2ba3dd
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B

View file

@ -1,7 +1,10 @@
return {
{
"mfussenegger/nvim-dap",
optional = true,
dependencies = {
"Weissle/persistent-breakpoints.nvim",
cond = LazyVim.has("nvim-dap") or vim.g.vscode == nil,
vscode = false,
event = "LazyFile",
keys = {
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
@ -13,9 +16,6 @@ return {
load_breakpoints_event = { "BufReadPost" },
},
},
{
"mfussenegger/nvim-dap",
optional = true,
keys = {
{ "<F2>", false },
{ "<leader>dB", false },