I just installed Neovim v0.9.1 in a Debian 12 Bookworm Server system.
I installed it from its homepage(github) using the .tar.gz method (nvim-linux64.tar.gz)
I decompressed the archive in
But whenever I use
nvim I get this error:
E848: Can't open file /__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim/syntax/syntax.nvim
And when I run
:checkhealth command I get this error:
E5009: Invalid $VIMRUNTIME: __w/neovim/neovim/build/nvim.AppDir/usr/share/nvim
How can I solve this error?
I have found
is located in
just where I installed NeoVim, but NeoVim is looking for it in another path.
I tried copying syntax.vim to
but the errors still remains.
I tried setting the
VIMRUNTIME with no success.