Neovim Config
1return {
2 "windwp/nvim-autopairs",
3 cond = function()
4 if os.getenv("WICKED_VIM_MODE") == "OBSIDIAN" then
5 return false
6 end
7 if os.getenv("WICKED_VIM_MODE") == nil then
8 return true
9 end
10 end,
11 event = "InsertEnter",
12 config = true,
13 -- use opts = {} for passing setup options
14 -- this is equivalent to setup({}) function
15}