add parenthesis for function completion
This commit is contained in:
parent
7db1fb75b9
commit
8b4118605b
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,12 @@ return packer.startup(
|
|||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("compe-completion").config()
|
||||
require("nvim-autopairs.completion.compe").setup(
|
||||
{
|
||||
map_cr = true,
|
||||
map_complete = true -- insert () func completion
|
||||
}
|
||||
)
|
||||
end,
|
||||
wants = {"LuaSnip"},
|
||||
requires = {
|
||||
|
@ -106,6 +112,7 @@ return packer.startup(
|
|||
-- misc plugins
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
after = "nvim-compe",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup()
|
||||
|
|
Loading…
Reference in a new issue