Up config.
This commit is contained in:
parent
5fe18c5cd3
commit
627e99a3be
@ -2,14 +2,28 @@
|
|||||||
|
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
|
packages=(
|
||||||
|
neovim
|
||||||
|
python-pynvim
|
||||||
|
npm
|
||||||
|
)
|
||||||
|
|
||||||
|
echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m"
|
||||||
|
|
||||||
|
## Install packages
|
||||||
|
for package in ${packages[@]}; do
|
||||||
|
if [ "$(yay -Qq $package 2> /dev/null)" != $package ]; then
|
||||||
|
echo "installing packages"
|
||||||
|
|
||||||
if [ ! $(command -v nvim) ]; then
|
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
sudo yay -S --noconfirm neovim python-pynvim
|
sudo yay -S --noconfirm $package
|
||||||
{{- else }}
|
{{- else }}
|
||||||
yay -S --noconfirm neovim python-pynvim
|
yay -S --noconfirm $package
|
||||||
{{- end }}
|
{{- end }}
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
|
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
|
||||||
|
|
||||||
|
echo -e "\033[0;32m>>>>> Finish LVim installation <<<<<\033[0m"
|
||||||
|
Loading…
Reference in New Issue
Block a user