mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
ci: use nvim v0.5.1 on CI
This commit is contained in:
parent
24edc5d93f
commit
7135321cc2
6 changed files with 22 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz | tar -xz
|
||||
curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz
|
||||
sudo ln -s $(pwd)/nvim-osx64/bin/nvim /usr/local/bin
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
sudo apt-get update
|
||||
sudo add-apt-repository universe
|
||||
wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/v0.19.4/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
|
||||
wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/${TREE_SITTER_CLI_TAG}/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
|
||||
sudo cp ./tree-sitter /usr/bin/tree-sitter
|
||||
sudo chmod uog+rwx /usr/bin/tree-sitter
|
||||
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage
|
||||
chmod u+x nvim.appimage
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
choco install neovim --pre
|
||||
curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-win64.zip -o nvim-win64.zip
|
||||
unzip nvim-win64
|
||||
mkdir -p ~/AppData/Local/nvim/pack/nvim-treesitter/start
|
||||
mkdir -p ~/AppData/Local/nvim-data
|
||||
cp -r $(pwd) ~/AppData/Local/nvim/pack/nvim-treesitter/start
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue