X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=install.sh;h=6def7c94c7c5796b69d1cc9e64fe74ccf4820389;hp=4a5ee5aeeee503b92a308651ad673d55037c2ee2;hb=940c5d4d85492624fab8c01bfd8c98e3eadadc42;hpb=7e541518bf6760c28a11594a4642b416634710f0 diff --git a/install.sh b/install.sh index 4a5ee5a..6def7c9 100755 --- a/install.sh +++ b/install.sh @@ -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 }