From e6223cc587d68d7184a585290b0dab2d62ef1f3d Mon Sep 17 00:00:00 2001 From: Danilo Horta Date: Tue, 11 Jan 2022 22:59:35 +0000 Subject: [PATCH] Enable FastWrap capabilities: https://github.com/windwp/nvim-autopairs#fastwrap --- lua/plugins/configs/others.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index 8784c29..279d6d4 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -7,7 +7,7 @@ M.autopairs = function() local present2, cmp_autopairs = pcall(require, "nvim-autopairs.completion.cmp") if present1 and present2 then - autopairs.setup() + autopairs.setup({fast_wrap = {}}) local cmp = require "cmp" cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())