How to stop autopairs in astronvim?

How can I stop autopairing brackets?

I've tried the nvim-autopairs.lua:

return {
  "windwp/nvim-autopairs",
  disable = true,
}

and:

-- If using nvim-autopairs, deactivate it
require('nvim-autopairs').disable()

but apparently I put it in the wrong files.
Where do I insert them?

Posted Jan 30, 2026, 5:21 AM UTC

10
Loading comments…