LazyVim / starter

Starter template for LazyVim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"module cmp not found" every time I inserted a character

ChenZhongPu opened this issue · comments

I am new to NVim. I followed the instructions to install LazyVim, and did NOT add any extra configuration.

Every time I inserted a character using NVim, then it would raise an error message:

Failed to source xxx/.local/share/nvim/lazy/cmp-buffer/after/plugin/cmp_buffer.lua
... no field package.preload['cmp']module cmp not found

How to fix it?


OS: macOS 13.2; NVim: 0.8.2

I fixed it. The nvim-cmp plugin was deleted somehow, and the folder became empty.