diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci-install.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh index 4f4265465..4677bb92e 100755 --- a/scripts/ci-install.sh +++ b/scripts/ci-install.sh @@ -11,9 +11,10 @@ if [[ $os == Linux ]]; then mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start elif [[ $os == Darwin ]]; then - curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz - sudo ln -s "$PWD"/nvim-macos/bin/nvim /usr/local/bin - rm -rf "$PWD"/nvim-macos/lib/nvim/parser + RELEASE_NAME="nvim-macos-$(uname -m)" + curl -L "https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/$RELEASE_NAME.tar.gz" | tar -xz + sudo ln -s "$PWD/$RELEASE_NAME/bin/nvim" /usr/local/bin + rm -rf "$PWD/$RELEASE_NAME/lib/nvim/parser" mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start else |
