Read the Red

Do not skip the message

Neovim’s startup errors name the file and often the line:

Error detected while processing /home/you/.config/nvim/lua/plugins/lsp.lua:
E5113: Error while calling lua chunk: ...lsp.lua:14: attempt to index a nil value

That is a file, a line, and a cause. Most “mystery” breakages are solved by reading it.

See it again

:messages

replays messages that scrolled past. nvim --headless "+q" shows startup errors without the UI getting in the way.