I recently decided to update Neovim and my setup on my macbook, which is why the paths I already had were not working correctly as they were pointing to /home/foo/.local/....
I think using something like vim.env.HOME and appending the luarocks path instead of evaluating the home directory once in the installer instructions would be the most efficient and convenient way to make PATHs on Unix systems work without tweaking them between different machines.
This would also be very useful for people using the same configuration on Linux systems with different usernames :)
I recently decided to update Neovim and my setup on my macbook, which is why the paths I already had were not working correctly as they were pointing to
/home/foo/.local/...
.I think using something like
vim.env.HOME
and appending the luarocks path instead of evaluating the home directory once in the installer instructions would be the most efficient and convenient way to make PATHs on Unix systems work without tweaking them between different machines.This would also be very useful for people using the same configuration on Linux systems with different usernames :)