add copilot, autopairs for auto closing parens, neotree for dir tree

This commit is contained in:
Stephen Leece 2024-01-06 17:55:15 -08:00
parent e34e4c3b7c
commit b08b2580eb
4 changed files with 49 additions and 5 deletions

View file

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