feat(nvim): add ( after completion of function

nixos
Moritz Böhme 2023-03-26 18:29:32 +02:00
parent 5977d6a7e1
commit a1fc3d39da
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 5 additions and 0 deletions

View File

@ -1 +1,6 @@
require("nvim-autopairs").setup()
-- If you want insert `(` after select function or method item
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local cmp = require("cmp")
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())