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

Error after installing #218

Closed eric-delarosa closed 1 year ago

eric-delarosa commented 1 year ago

Right after installing a fresh neovim and cloning the repo, I use nvim and I get this error:

Error detected while processing /home/eric/.config/nvim/init.lua: E5113: Error while calling lua chunk: /home/eric/.config/nvim/lua/user/lsp/init.lua:8: attempt to index a boolean value stack traceback: /home/eric/.config/nvim/lua/user/lsp/init.lua:8: in main chunk [C]: in function 'require' /home/eric/.config/nvim/init.lua:6: in main chunk

Kodlak15 commented 1 year ago

I just had the same issue. The problem went away after running the :PackerSync command. Give that a try and see if it solves your problem.

LunZaiZai0223 commented 1 year ago

Hey, i was facing the same issue but after installed cmp-nvim-lsp then everything good. Try to check whether you have installed cmp-nvim-lsp or not.

snehalyelmati commented 1 year ago

If PackerSync doesn't work in neovim, use this command directly in terminal. nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'

johnp41 commented 1 year ago

Had the same problem.. this fix helped me.

gnmearacaun commented 1 year ago

fixed by #49