This commit is contained in:
Danilo Horta 2022-01-11 22:59:35 +00:00 committed by siduck
parent b1338beb0f
commit e6223cc587

View file

@ -7,7 +7,7 @@ M.autopairs = function()
local present2, cmp_autopairs = pcall(require, "nvim-autopairs.completion.cmp") local present2, cmp_autopairs = pcall(require, "nvim-autopairs.completion.cmp")
if present1 and present2 then if present1 and present2 then
autopairs.setup() autopairs.setup({fast_wrap = {}})
local cmp = require "cmp" local cmp = require "cmp"
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done()) cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())