]> granicus.if.org Git - vim/commitdiff
patch 8.0.1122: vimtutor.bat doesn't work well with vim.bat v8.0.1122
authorBram Moolenaar <Bram@vim.org>
Sun, 17 Sep 2017 19:43:00 +0000 (21:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 17 Sep 2017 19:43:00 +0000 (21:43 +0200)
Problem:    vimtutor.bat doesn't work well with vim.bat.
Solution:   Use "call vim". (Ken Takata, closes #2105)

src/version.c
vimtutor.bat

index e215d3e72516829bb5b46c9b410fdc7ca171a24d..a24116628351515265576d8b1ab04912809eb62c 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1122,
 /**/
     1121,
 /**/
index b147a8c44f392b591fc2f9d726271120be19f30d..a670b0e31c74729f5280affab7732f627433e0f2 100644 (file)
@@ -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