Mercurial > vim
comparison vimtutor.bat @ 25812:79aaaa134298 v8.2.3441
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces
Commit: https://github.com/vim/vim/commit/ee2cbcd99c54d7c4a3ccfaf0cd5ddeb1369a844e
Author: Christian Brabandt <cb@256bit.org>
Date: Wed Sep 15 12:53:40 2021 +0200
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces
Problem: MS-Windows: vimtutor can't handle path with spaces.
Solution: Add double quotes. (Christian Brabandt, closes https://github.com/vim/vim/issues/8871)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Sep 2021 13:00:06 +0200 |
parents | d4faa2c5211b |
children |
comparison
equal
deleted
inserted
replaced
25811:c80c8cbb6d4d | 25812:79aaaa134298 |
---|---|
9 :: When this fails or no xx argument was given, it tries using 'v:lang' | 9 :: When this fails or no xx argument was given, it tries using 'v:lang' |
10 :: When that also fails, it uses the English version. | 10 :: When that also fails, it uses the English version. |
11 | 11 |
12 :: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME | 12 :: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME |
13 FOR %%d in (. %TMP% %TEMP%) DO ( | 13 FOR %%d in (. %TMP% %TEMP%) DO ( |
14 call :test_dir_writable %~dpf0 %%d | 14 call :test_dir_writable "%~dpf0" %%d |
15 IF NOT ERRORLEVEL 1 GOTO dir_ok | 15 IF NOT ERRORLEVEL 1 GOTO dir_ok |
16 ) | 16 ) |
17 | 17 |
18 echo No working directory is found | 18 echo No working directory is found |
19 GOTO end | 19 GOTO end |