my_nvim_config/after/plugin/autoclose.lua
2024-06-21 10:40:59 -04:00

9 lines
222 B
Lua

-- If you want insert `(` after select function or method item
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)