mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
ci(install): adapt to new Neovim release artefact names
Old name can be removed after 0.10.4 release
This commit is contained in:
committed by
Christian Clason
parent
61a385d74f
commit
2206739829
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user