diff --git a/nvim_setup.sh b/nvim_setup.sh index f1ba451..61a09bd 100644 --- a/nvim_setup.sh +++ b/nvim_setup.sh @@ -16,7 +16,11 @@ echo "Installation de Neovim sur $DISTRO..." case "$DISTRO" in "debian") su -c "apt-get update" - su -c "apt-get install -y neovim git curl gcc" + su -c "apt-get install -y git curl gcc" + curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz + su -c "rm -rf /opt/nvim-linux-x86_64" + su -c "tar -C /opt -xzf nvim-linux-x86_64.tar.gz" + su -c "/opt/nvim-linux-x86_64/bin/nvim /bin/nvim" ;; "alpine") su -c "apk update"