X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=install.sh;h=6def7c94c7c5796b69d1cc9e64fe74ccf4820389;hp=4a5ee5aeeee503b92a308651ad673d55037c2ee2;hb=4a3479cb8cdf93277d82a99a5543cbbd8aee7a33;hpb=a50d445c0e555e50f7250a96ed5a027617b93335 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 }