[AUTOCONFIG][NEOVIM] Add dependencies of neovim
This commit is contained in:
parent
f9fe112400
commit
2f45fe5397
2 changed files with 5 additions and 0 deletions
1
.env
1
.env
|
@ -9,6 +9,7 @@ WM=awesome
|
||||||
|
|
||||||
# Install neovim with custom configuration
|
# Install neovim with custom configuration
|
||||||
WITH_NEOVIM=yes
|
WITH_NEOVIM=yes
|
||||||
|
WITH_NEOVIM_DEPENDENCIES=yes
|
||||||
# Possible value = yes | no | force
|
# Possible value = yes | no | force
|
||||||
WITH_CUSTOM_NEOVIM_CONFIG=yes
|
WITH_CUSTOM_NEOVIM_CONFIG=yes
|
||||||
WITH_CUSTOM_LAZYGIT_CONFIG=yes
|
WITH_CUSTOM_LAZYGIT_CONFIG=yes
|
||||||
|
|
|
@ -4,6 +4,10 @@ if [[ "$WITH_NEOVIM" == 'yes' ]]; then
|
||||||
if ! command_exists nvim; then
|
if ! command_exists nvim; then
|
||||||
install_package neovim
|
install_package neovim
|
||||||
echo '[INFO] Neovim installed'
|
echo '[INFO] Neovim installed'
|
||||||
|
|
||||||
|
if [[ "$WITH_NEOVIM_DEPENDENCIES" == 'yes' ]]; then
|
||||||
|
install_package ripgrep fd dart lazygit rust-analyzer lldb
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo '[INFO] Neovim already installed'
|
echo '[INFO] Neovim already installed'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue