update config for updated plugins

This commit is contained in:
Ray Elliott 2021-12-13 15:16:24 +00:00
commit ca57edd143
3 changed files with 13 additions and 15 deletions

View file

@ -1,9 +1,9 @@
-- nvim-autopairs
require('nvim-autopairs').setup{}
-- you need setup cmp first put this after cmp.setup()
require("nvim-autopairs.completion.cmp").setup({
map_cr = true, -- map <CR> on insert mode
map_complete = true, -- it will auto insert `(` after select function or method item
require("cmp").setup({
map_cr = false, -- map <CR> on insert mode
map_complete = false, -- it will auto insert `(` after select function or method item
auto_select = true -- automatically select the first item
})