return {
{
"windwp/nvim-autopairs",
config = function()
require("nvim-autopairs").setup({
disable_in_macro = true,
})
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local cmp = require("cmp")
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
end,
},
}