Merge branch 'master' of https://github.com/nvim-lua/kickstart.nvim into nvim-lua-master

This commit is contained in:
Ruslan Rakhmanov 2025-05-04 18:05:37 +02:00
commit 4f2e0c6d59
2 changed files with 100 additions and 134 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 = {},
}