avoid using cmp disable var for autopairs (#567)

This commit is contained in:
siduck76 2021-10-22 05:47:35 +05:30
parent 67962828bb
commit 068ae08f6c
3 changed files with 5 additions and 1 deletions

View file

@ -10,6 +10,9 @@ M.autopairs = function()
end
autopairs.setup()
-- not needed if you disable cmp, the above var related to cmp tooo! override default config for autopairs
autopairs_completion.setup {
map_complete = true, -- insert () func completion
map_cr = true,