Skip to content

Commit dde403c

Browse files
committed
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)
1 parent 49150a4 commit dde403c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1122,
764766
/**/
765767
1121,
766768
/**/

vimtutor.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ GOTO end
4747

4848
:use_vim
4949
:: The script tutor.vim tells Vim which file to copy
50-
vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim"
50+
call vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim"
5151
IF ERRORLEVEL 1 GOTO no_executable
5252

5353
:: Start vim without any .vimrc, set 'nocompatible'
54-
vim -u NONE -c "set nocp" %TUTORCOPY%
54+
call vim -u NONE -c "set nocp" %TUTORCOPY%
5555

5656
GOTO end
5757

0 commit comments

Comments
 (0)