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)
This commit is contained in:
Bram Moolenaar
2017-09-17 21:43:00 +02:00
parent 49150a41f8
commit dde403c2d8
2 changed files with 4 additions and 2 deletions

View 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