summaryrefslogtreecommitdiffstats
path: root/runtime/doc/test_urls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/test_urls.vim')
-rw-r--r--runtime/doc/test_urls.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/test_urls.vim b/runtime/doc/test_urls.vim
index e23f87966b..b75dc29c48 100644
--- a/runtime/doc/test_urls.vim
+++ b/runtime/doc/test_urls.vim
@@ -12,11 +12,11 @@ func Test_check_URLs()
else
let s:outdev = '/dev/null'
endif
-" Restorer: For Windows users. If "curl" or "weget" is installed on the system
-" but not in %PATH%, add the full routes for them to this environment variable.
+" Restorer: For Windows users. If "curl" or "wget" is installed on the system
+" but not in %PATH%, add the full path to them to %PATH% environment variable.
if executable('curl')
" Note: does not follow redirects!
- let s:command1 = 'curl --silent --fail --output ' ..s:outdev.. ' --head '
+ let s:command1 = 'curl --silent --max-time 5 --fail --output ' ..s:outdev.. ' --head '
let s:command2 = ""
elseif executable('wget')
" Note: only allow a couple of redirects