If you need to install manually, follow these below instruction.
Extract all below compressed files.
# Assume that your neovim path like this: /home/kietpham/dotfiles/
dotfiles=/home/kietpham/dotfiles/
config=$neovim/config
tool=$neovim/tools
# Setup toolscd$tool
tar -xf <package>.tar.bz2
rm -rf <package>.tar.bz2
# Language Servercd$config/mason/bin
tar -xf pack.tar.bz2
cd$config/mason/packages
tar -xf pack_1.tar.bz2
tar -xf pack_2.tar.bz2
# After that, you can remove compressed files.
Export binary file to $PATH, add these lines to your ~/.bashrc.
# Some SW have src/bin dir, some doesn't have, some even doesn't have a src dir.export PATH=$TOOLS:$PATHexport PATH=$TOOLS/<softwares>:$PATHexport PATH=$TOOLS/<softwares>/bin:$PATH# Add neovim --remote to your .bashrc and .zshrc (depend on your favorite shell)if [ -n"$NVIM_LISTEN_ADDRESS" ];thenalias nvim=nvr -cc split --remote-wait +'set bufhidden=wipe'fiif [ -n"$NVIM_LISTEN_ADDRESS" ];thenexport VISUAL="nvr -cc split --remote-wait +'set bufhidden=wipe'"export EDITOR="nvr -cc split --remote-wait +'set bufhidden=wipe'"elseexport VISUAL="nvim"export EDITOR="nvim"fi
At home direcory, do some stuffs.
# Assume that your neovim path like this: /home/kietpham/dotfiles/# Link your config file to homecd$home
ln -s /home/kietpham/dotfiles/config/nvim .# Add pynvim and nvr provider to local lib
mv /home/kietpham/dotfiles/tools/pynvim_package/*$home/.local
# Move tmux packages to homecd$config
mv tmux/*$home# Move zsh packages to homecd$config
mv zsh/*$home
Modify path in some lua config file.
-- Assume that your neovim path like this: /home/kietpham/dotfiles/-- File $home/.config/nvim/init.lualetg:python3_host_prog='/home/kietpham/dotfiles/tools/python-3.10.7/bin/python3'letg:node_host_prog='/home/kietpham/dotfiles/tools/node-v16.17.1/lib/node_modules/neovim/bin/cli.js'-- File $home.config/nvim/lua/user/packer.luag.nvim_profile_path="/home/kietpham/dotfiles/config/nvim"-- File $home.config/nvim/lua/user/mason.luainstall_root_dir="/home/kietpham/dotfiles/config/mason"-- File $home/.config/mason/packages/lua-language-serverexec"/home/kietpham/dotfiles/config/mason/packages/..."
After installation, run nvim will have some errors.
-- Open a blank workspacenvim-- Type below commands
:PackerLoadnoice.nvim
:UpdateRemotePlugins
:PackerCompile