diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-17 21:43:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-17 21:43:00 +0200 |
commit | dde403c2d8f3dabe6fefa7b526958b49a8f2e6e9 (patch) | |
tree | a93c6a37c5e60ec02b4c8f98bbcb53df526dcfee | |
parent | 49150a41f86ff5c50de6d679168532682f49c672 (diff) | |
download | vim-git-8.0.1122.tar.gz |
patch 8.0.1122: vimtutor.bat doesn't work well with vim.batv8.0.1122
Problem: vimtutor.bat doesn't work well with vim.bat.
Solution: Use "call vim". (Ken Takata, closes #2105)
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | vimtutor.bat | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c index e215d3e72..a24116628 100644 --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1122, +/**/ 1121, /**/ 1120, diff --git a/vimtutor.bat b/vimtutor.bat index b147a8c44..a670b0e31 100644 --- a/vimtutor.bat +++ b/vimtutor.bat @@ -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 |