🐛 fix(nvim): condition for persistent-breakpoints and kitty-scrollback loading

This commit is contained in:
Sergio Laín 2024-04-07 15:52:17 +02:00
parent e61795ba2a
commit 4ba78901c4
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
return {
{
"Weissle/persistent-breakpoints.nvim",
cond = LazyVim.has("nvim-dap") and vim.g.vscode == nil,
cond = LazyVim.has("nvim-dap") or vim.g.vscode == nil,
event = "LazyFile",
keys = {
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },

View file

@ -2,7 +2,7 @@ return {
"mistricky/codesnap.nvim",
build = "make",
cmd = { "CodeSnap", "CodeSnapSave" },
cond = vim.g.vscode == nil,
cond = vim.env.KITTY_SCROLLBACK_NVIM == nil,
opts = {
save_path = os.getenv("XDG_SCREENSHOTS_HOME") .. "/Codigo",
title = "CodeSnap.nvim",