LSP maybe portable with it’s config if the LSP themselves are independent. Checkout Mason which seems to make it easier to bundle neovim and “portable” LSP. There was another project similar to Mason with some more features, but I forgot it’s name. So search around to see if that fits your requirements.
Next time, try enabling display of whitespace characters through
set list
. If I remember correctly, they can help distinguish between the Windows carriage return character and Linux end of line character.This may help for a quick overview.