forked from aniani/vim
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:
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1122,
|
||||||
/**/
|
/**/
|
||||||
1121,
|
1121,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -47,11 +47,11 @@ GOTO end
|
|||||||
|
|
||||||
:use_vim
|
:use_vim
|
||||||
:: The script tutor.vim tells Vim which file to copy
|
:: 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
|
IF ERRORLEVEL 1 GOTO no_executable
|
||||||
|
|
||||||
:: Start vim without any .vimrc, set 'nocompatible'
|
:: Start vim without any .vimrc, set 'nocompatible'
|
||||||
vim -u NONE -c "set nocp" %TUTORCOPY%
|
call vim -u NONE -c "set nocp" %TUTORCOPY%
|
||||||
|
|
||||||
GOTO end
|
GOTO end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user