1
0
Fork 0

[AUTOCONFIG][NEOVIM] Add dependencies of neovim

This commit is contained in:
Florian RICHER 2022-01-04 21:10:53 +01:00
parent f9fe112400
commit 2f45fe5397
2 changed files with 5 additions and 0 deletions

1
.env
View file

@ -9,6 +9,7 @@ WM=awesome
# Install neovim with custom configuration
WITH_NEOVIM=yes
WITH_NEOVIM_DEPENDENCIES=yes
# Possible value = yes | no | force
WITH_CUSTOM_NEOVIM_CONFIG=yes
WITH_CUSTOM_LAZYGIT_CONFIG=yes

View file

@ -4,6 +4,10 @@ if [[ "$WITH_NEOVIM" == 'yes' ]]; then
if ! command_exists nvim; then
install_package neovim
echo '[INFO] Neovim installed'
if [[ "$WITH_NEOVIM_DEPENDENCIES" == 'yes' ]]; then
install_package ripgrep fd dart lazygit rust-analyzer lldb
fi
else
echo '[INFO] Neovim already installed'
fi