local function init() require('nvim-autopairs').setup() require("nvim-autopairs.completion.compe").setup({ map_cr = true, -- map on insert mode map_complete = true -- it will auto insert `(` after select function or method item }) end return { init = init }