🐛 fix(nvim): cond some plugins for not loading when inside vscodium

This commit is contained in:
Sergio Laín 2024-04-07 13:57:31 +02:00
parent 250d63857a
commit a347b4dd94
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 2 additions and 1 deletions

View file

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

View file

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