feat: update my changes

This commit is contained in:
Kitso Gidion Namane 2023-10-11 16:22:37 +02:00
parent 58f2dbab70
commit 89012d749d
No known key found for this signature in database
GPG key ID: 7BF6158A95B74623
4 changed files with 99 additions and 16 deletions

View file

@ -0,0 +1,17 @@
-- File: lua/custom/plugins/autopairs.lua
return {
"windwp/nvim-autopairs",
-- Optional dependency
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
require("nvim-autopairs").setup {}
-- If you want to automatically add `(` after selecting a function or method
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)
end,
}