Permalink
Browse files

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)
  • Loading branch information...
brammool committed Sep 17, 2017
1 parent 49150a4 commit dde403c2d8f3dabe6fefa7b526958b49a8f2e6e9
Showing with 4 additions and 2 deletions.
  1. +2 −0 src/version.c
  2. +2 −2 vimtutor.bat
View
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1122,
/**/
1121,
/**/
View
@@ -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

0 comments on commit dde403c

Please sign in to comment.