Merge branch 'master' into apply_changes

This commit is contained in:
Karolis 2025-04-12 19:00:16 +03:00 committed by GitHub
commit 93ec16742e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 104 additions and 137 deletions

View file

@ -4,13 +4,5 @@
return {
'windwp/nvim-autopairs',
event = 'InsertEnter',
-- 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,
opts = {},
}