This seems to solve an issue I have on the first install using packer. Other cmp plugins didn't have this error and this seems to be the only difference. I imagine the vim calling lua to require cmp happens too late for packer when it runs? Not sure.
async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua [string ":lua"]:1: module 'cmp' not found:
no field package.preload['cmp']
Use lua in after plugin
This seems to solve an issue I have on the first install using packer. Other cmp plugins didn't have this error and this seems to be the only difference. I imagine the vim calling lua to require cmp happens too late for packer when it runs? Not sure.