[NVIM-CMP] - Error executing vim.schedule lua callback

Hi,

I recently switch to nvim-cmp, but I have an error starting to appear after several minutes each time I press : or / in normal mode:

Error executing vim.schedule lua callback: .../emile/.local/share/nvim/plugged/nvim-cmp/plugin/cmp.lua:41: Vim(autocmd):E216: No such group or event:                                          
            autocmd CmdlineChanged * lua require'cmp.utils.autocmd'.emit('TextChanged')                                                                                                        
            autocmd CmdlineLeave * call v:lua.cmp.plugin.cmdline.leave()                                                                                                                       
          augroup END                                                                                                                                                                          
                                                                                                                                                                                               
stack traceback:                                                                                                                                                                               
        [C]: in function 'cmd'                                                                                                                                                                 
        .../emile/.local/share/nvim/plugged/nvim-cmp/plugin/cmp.lua:41: in function <.../emile/.local/share/nvim/plugged/nvim-cmp/plugin/cmp.lua:33>

Nvim version:

NVIM v0.6.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az65-618

Has anyone had this error before or would know how to fix it?

Thanks

1 Like

Iā€™m also experiencing this error with the exact same situation.
Nvim version

NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@BigSur