🐛 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 {
|
return {
|
||||||
{
|
{
|
||||||
"Weissle/persistent-breakpoints.nvim",
|
"Weissle/persistent-breakpoints.nvim",
|
||||||
cond = LazyVim.has("nvim-dap"),
|
cond = LazyVim.has("nvim-dap") and vim.g.vscode == nil,
|
||||||
event = "LazyFile",
|
event = "LazyFile",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
||||||
|
|
|
@ -2,6 +2,7 @@ return {
|
||||||
"mistricky/codesnap.nvim",
|
"mistricky/codesnap.nvim",
|
||||||
build = "make",
|
build = "make",
|
||||||
cmd = { "CodeSnap", "CodeSnapSave" },
|
cmd = { "CodeSnap", "CodeSnapSave" },
|
||||||
|
cond = vim.g.vscode == nil,
|
||||||
opts = {
|
opts = {
|
||||||
save_path = os.getenv("XDG_SCREENSHOTS_HOME") .. "/Codigo",
|
save_path = os.getenv("XDG_SCREENSHOTS_HOME") .. "/Codigo",
|
||||||
title = "CodeSnap.nvim",
|
title = "CodeSnap.nvim",
|
||||||
|
|
Loading…
Add table
Reference in a new issue