update to AstroNvim v4

This commit is contained in:
2024-04-02 00:03:38 -06:00
parent 76c8250276
commit 717e88ea06
18 changed files with 642 additions and 8 deletions

View File

@@ -65,20 +65,14 @@ fi
echo "\n[-] Running fish install setup [-]"
/usr/bin/env fish ~/.config/fish/.on_install.fish
if test -f ~/.config/nvim/config.ld ; then
if test -f ~/.config/nvim/README.md ; then
echo "Already installed AstroNvim"
else
echo "\n[-] Installing AstroNvim [-]"
if test -d ~/.config/nvim/ ; then
echo "Moving current nvim config to nvim.bak"
mv ~/.config/nvim ~/.config/nvim.bak || echo ""
fi
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
git clone https://github.com/candrewlee14/astronvim_config ~/.config/nvim/lua/user
if test -x ~/.webman/bin/nvim ; then
~/.webman/bin/nvim --headless +q
else
echo "~/.webman/bin/nvim does not exist or is not executable"
fi
fi
fi