LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.17k forks source link

rename cmp #260

Closed wzhy920127 closed 1 year ago

wzhy920127 commented 1 year ago

The name of the cmp.lua file is the same as that of the nvim-cmp plug-in, causing an error in E5113: Error while calling lua chunk: ...\packer\start\cmp-nvim-lua\after\plugin\cmp_nvim_lua.lua:1: attempt to index a boolean value

gnmearacaun commented 1 year ago

I haven't seen that error. Traditionally it's called cmp What happens if you wipe ~/.cache/nvim. If the error doesn't go away, try manually removing the plugin folder ~/.local/share/nvim/site/pack/packer/start/nvim-cmp and reinstall with :PackerSync

wzhy920127 commented 1 year ago

You are right, but it works on my PC after I change the cmp file name, cancel merge.