From 5e9d1a2c1c418af8260cedc63fb825d8a4e6906b Mon Sep 17 00:00:00 2001 From: Jules Date: Fri, 3 Oct 2025 23:09:11 +0200 Subject: [PATCH] correction version nvim debian --- nvim_setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"