windwp / nvim-autopairs

autopairs for neovim written in lua
MIT License
3.04k stars 110 forks source link

Example for nvim lua/plugin folder #459

Open damccull opened 3 weeks ago

damccull commented 3 weeks ago

As I understand it, nvim loads lua files in the /lua/plugin folder automatically, requiring no package manager to load these. Can you provide an example of how to set up autopairs in this way?

windwp commented 1 week ago

i am sure it is only need to call require("nvim-autopairs").setup({})