return { { "hrsh7th/nvim-cmp", dependencies = { 'neovim/nvim-lspconfig', 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-path', 'hrsh7th/cmp-cmdline' }, config = function() local cmp = require'cmp' cmp.setup { snippet = { expand = function() vim.snippet.expand(args.body) end, }, window = { completion = cmp.config.window.bordered(), documentation = cmp.config.window.bordered(), }, sources = cmp.config.sources({ { name = 'nvim_lsp' }, },{ { name = 'buffer' }, }) } end, }, }