feat: switch nvim-cmp for blink.cmp

This commit is contained in:
Liam Dyer 2025-03-28 16:23:01 -04:00
parent e947649cb0
commit 99fb31cfdf
No known key found for this signature in database
GPG key ID: 85FB6947C8AA3EDF
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 = {},
}