update config for updated plugins
This commit is contained in:
parent
2df15c3410
commit
ca57edd143
3 changed files with 13 additions and 15 deletions
|
|
@ -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
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue