From 068219b7cf7bdbc2b0993163b15e4f9ead98e153 Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Fri, 27 Jan 2023 22:57:57 -0500 Subject: [PATCH] tree sitter --- install_fedora.sh | 1 + install_ubuntu.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install_fedora.sh b/install_fedora.sh index 6fbb0eb..7cc951f 100755 --- a/install_fedora.sh +++ b/install_fedora.sh @@ -68,6 +68,7 @@ dotfiles() { neovim() { # install neovim sudo dnf install -y neovim + sudo npm install -g tree-sitter-cli git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim || exit 1 git clone https://git.junickim.me/junikimm717/nvim2023 ~/.config/nvim || exit 1 nvim -c PackerSync -c 'sleep 10' -c qa --headless diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 790c635..e294844 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -97,11 +97,12 @@ neovim() { # install neovim curl https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.deb -LJo "$HOME/repos/nvim-linux64.deb" || exit 1 sudo apt install "$HOME/repos/nvim-linux64.deb" -y || exit 1 + sudo npm install -g tree-sitter-cli git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim || exit 1 git clone https://git.junickim.me/junikimm717/nvim2023 ~/.config/nvim || exit 1 nvim -c PackerSync -c 'sleep 10' -c qa --headless echo "sleeping to compile" - nvim -c 'sleep 40' -c qa --headless + nvim -c 'sleep 60' -c qa --headless } competitiveprogramming() {