6 lines
250 B
Lua
6 lines
250 B
Lua
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())
|