diff --git a/.env b/.env index d220353..ca74f26 100644 --- a/.env +++ b/.env @@ -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 diff --git a/scripts/tools/neovim/install.sh b/scripts/tools/neovim/install.sh index e95ccd0..2d3def9 100755 --- a/scripts/tools/neovim/install.sh +++ b/scripts/tools/neovim/install.sh @@ -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