dotfiles/modules/programs/nvim/plugins/nvim-autopairs.lua

6 lines
234 B
Lua
Raw Normal View History

require("nvim-autopairs").setup()
-- If you want insert `(` after select function or method item
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
2023-04-26 14:29:53 +02:00
require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done())