Replace the required dependency error in packages.
Error:
nvim: error while loading shared libraries: libmsgpackc.so.2: cannot open shared object file: No such file or directory
Solution:
pacman -S patchelf
patchelf --replace-needed libmsgpackc.so.2 libmsgpack-c.so.2 $(command -v nvim)
Reference: Reddit