summaryrefslogtreecommitdiff
path: root/vimtutor.bat
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-17 21:43:00 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-17 21:43:00 +0200
commitdde403c2d8f3dabe6fefa7b526958b49a8f2e6e9 (patch)
treea93c6a37c5e60ec02b4c8f98bbcb53df526dcfee /vimtutor.bat
parent49150a41f86ff5c50de6d679168532682f49c672 (diff)
downloadvim-git-dde403c2d8f3dabe6fefa7b526958b49a8f2e6e9.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)
Diffstat (limited to 'vimtutor.bat')
-rw-r--r--vimtutor.bat4
1 files changed, 2 insertions, 2 deletions
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