🚀 perf(nvim): add nvim-dap as cond to load some plugins
This commit is contained in:
parent
a76dc1f6ad
commit
764d58bc32
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
return {
|
||||
{
|
||||
"Weissle/persistent-breakpoints.nvim",
|
||||
cond = require("lazyvim.util").has("nvim-dap"),
|
||||
event = "LazyFile",
|
||||
keys = {
|
||||
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"nvim-telescope/telescope-dap.nvim",
|
||||
cond = require("lazyvim.util").has("nvim-dap"),
|
||||
config = function()
|
||||
require("lazyvim.util").on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("dap")
|
||||
|
|
Loading…
Add table
Reference in a new issue