Enable FastWrap capabilities: https://github.com/windwp/nvim-autopairs#fastwrap
This commit is contained in:
parent
b1338beb0f
commit
e6223cc587
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue