🐛 fix(nvim): cond some plugins for not loading when inside vscodium
This commit is contained in:
parent
250d63857a
commit
a347b4dd94
2 changed files with 2 additions and 1 deletions
|
@ -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" },
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue