mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user