From: Stefan Huber Date: Tue, 23 Jun 2020 13:56:44 +0000 (+0200) Subject: install.sh: Update X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=commitdiff_plain;h=4a3479cb8cdf93277d82a99a5543cbbd8aee7a33 install.sh: Update --- 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 }