feat: switch nvim-cmp for blink.cmp (#1426)

This commit is contained in:
Liam Dyer 2025-04-09 17:25:57 -04:00 committed by GitHub
parent 9929044f24
commit d350db2449
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 70 additions and 98 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 = {},
}