wip
This commit is contained in:
parent
3c19306d59
commit
88bf0bce74
2 changed files with 256 additions and 242 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 6d892008725298bb44af1ff28894d61e0eebc054
|
||||
Subproject commit d7b0a20d481345198b67af46f07b668b8e5244cd
|
20
install.sh
20
install.sh
|
@ -175,6 +175,20 @@ askThings() {
|
|||
esac
|
||||
}
|
||||
|
||||
initNvim() {
|
||||
echo_info "Do you want to init the neovim configuratin (installs plugins and lsps headlessly) (Y/n)"
|
||||
read -r initNeovim </dev/tty
|
||||
|
||||
case "$initNeovim" in
|
||||
[nN])
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
nvim --headless +q
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
ask_Neovide() {
|
||||
echo_info "Do you also want to install a neovide config? [y/N]"
|
||||
read -r askNeovide </dev/tty
|
||||
|
@ -226,9 +240,9 @@ __validate__() {
|
|||
esac
|
||||
|
||||
case "$askNvim" in
|
||||
[sS] | standard) cloneDots "nvim" && ask_Neovide ;;
|
||||
[mM] | minimal) cloneDots "nvim-mini" "nvim" && ask_Neovide ;;
|
||||
[aA] | astro) cloneDots "nvim-astro" "nvim" && ask_Neovide ;;
|
||||
[sS] | standard) cloneDots "nvim" && initNvim && ask_Neovide ;;
|
||||
[mM] | minimal) cloneDots "nvim-mini" "nvim" && initNvim && ask_Neovide ;;
|
||||
[aA] | astro) cloneDots "nvim-astro" "nvim" && initNvim && ask_Neovide ;;
|
||||
[nN] | no) return 0 ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue