aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Kempkens <daniel+git@kempkens.io>2021-05-17 23:12:29 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2021-05-18 19:10:06 +0200
commit06f8689aea164652eef5835d0614c51ec0f0b9d5 (patch)
tree1523ea3b824d4e2d2e351538922665656fad75b5 /scripts
parentRefactor highlights and locals queries (diff)
downloadnvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar.gz
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar.bz2
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar.lz
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar.xz
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.tar.zst
nvim-treesitter-06f8689aea164652eef5835d0614c51ec0f0b9d5.zip
CI: Install tree-sitter
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci-install-macos-latest.sh1
-rw-r--r--scripts/ci-install-ubuntu-latest.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ci-install-macos-latest.sh b/scripts/ci-install-macos-latest.sh
index 10a9d9bb6..a952dc572 100644
--- a/scripts/ci-install-macos-latest.sh
+++ b/scripts/ci-install-macos-latest.sh
@@ -1,6 +1,7 @@
brew update
brew install llvm --HEAD
brew install neovim --HEAD
+brew install tree-sitter
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
diff --git a/scripts/ci-install-ubuntu-latest.sh b/scripts/ci-install-ubuntu-latest.sh
index c245a122f..8f20592c3 100644
--- a/scripts/ci-install-ubuntu-latest.sh
+++ b/scripts/ci-install-ubuntu-latest.sh
@@ -1,5 +1,8 @@
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
+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
chmod u+x nvim.appimage
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start