2023-03-04 13:22:48 +01:00
|
|
|
require("nvim-autopairs").setup()
|
2023-03-26 18:29:32 +02:00
|
|
|
|
|
|
|
-- 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())
|