add custom plugins

This commit is contained in:
Tim Redband 2024-03-25 16:11:33 -04:00
parent fb39d7c85b
commit 4c8dd5cc90
3 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,12 @@
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,
}