diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci-install.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh index 4677bb92e..7e99a8de4 100755 --- a/scripts/ci-install.sh +++ b/scripts/ci-install.sh @@ -3,7 +3,14 @@ set -e os=$(uname -s) -if [[ $os == Linux ]]; then +if [[ $os == Linux ]] && [[ ${NVIM_TAG} == nightly ]]; then + wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz + tar -zxf nvim-linux-x86_64.tar.gz + sudo ln -s "$PWD"/nvim-linux-x86_64/bin/nvim /usr/local/bin + rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser + mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start + ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start +elif [[ $os == Linux ]]; then wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz tar -zxf nvim-linux64.tar.gz sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin |
