install.sh: Update
authorStefan Huber <shuber@sthu.org>
Tue, 23 Jun 2020 13:56:44 +0000 (15:56 +0200)
committerStefan Huber <shuber@sthu.org>
Tue, 23 Jun 2020 13:59:01 +0000 (15:59 +0200)
install.sh

index 4a5ee5aeeee503b92a308651ad673d55037c2ee2..6def7c94c7c5796b69d1cc9e64fe74ccf4820389 100755 (executable)
@@ -4,6 +4,10 @@ set -e
 
 check_vim()
 {
+    if /usr/bin/vim --version | grep -q "NVIM"; then
+        return
+    fi
+
     if /usr/bin/vim --version | grep -q "$1"; then
         echo "vim has support for $1."
     else
@@ -38,7 +42,6 @@ check_font()
         echo "Font $1 found."
     else
         echo "Font $1 not found. Either install it or clear g:enable_plugin_devicons."
-        exit
     fi
 }