From dde403c2d8f3dabe6fefa7b526958b49a8f2e6e9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 17 Sep 2017 21:43:00 +0200 Subject: patch 8.0.1122: vimtutor.bat doesn't work well with vim.bat Problem: vimtutor.bat doesn't work well with vim.bat. Solution: Use "call vim". (Ken Takata, closes #2105) --- src/version.c | 2 ++ vimtutor.bat | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/version.c b/src/version.c index e215d3e725..a241166283 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1122, /**/ 1121, /**/ diff --git a/vimtutor.bat b/vimtutor.bat index b147a8c44f..a670b0e31c 100644 --- a/vimtutor.bat +++ b/vimtutor.bat @@ -47,11 +47,11 @@ GOTO end :use_vim :: The script tutor.vim tells Vim which file to copy -vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim" +call vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim" IF ERRORLEVEL 1 GOTO no_executable :: Start vim without any .vimrc, set 'nocompatible' -vim -u NONE -c "set nocp" %TUTORCOPY% +call vim -u NONE -c "set nocp" %TUTORCOPY% GOTO end -- cgit v1.2.3