return { "windwp/nvim-autopairs", cond = function() if os.getenv("WICKED_VIM_MODE") == "OBSIDIAN" then return false end if os.getenv("WICKED_VIM_MODE") == nil then return true end end, event = "InsertEnter", config = true, -- use opts = {} for passing setup options -- this is equivalent to setup({}) function }