aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-11 18:14:03 +0800
committerGitHub <noreply@github.com>2024-05-11 18:14:03 +0800
commit7a03cd1dba0eeac361a518ee5d92ff81405c3690 (patch)
tree9282eda0caa884c58326170322d2bb4524a59b2d /scripts
parent14693353d566d126d1e8f28a8e6cbc10e27c09d1 (diff)
downloadrneovim-7a03cd1dba0eeac361a518ee5d92ff81405c3690.tar.gz
rneovim-7a03cd1dba0eeac361a518ee5d92ff81405c3690.tar.bz2
rneovim-7a03cd1dba0eeac361a518ee5d92ff81405c3690.zip
vim-patch:1c5728e0c4a9 (#28703)
runtime(doc): update and remove some invalid links closes: vim/vim#14748 https://github.com/vim/vim/commit/1c5728e0c4a9df930879f9f0ca108092d5902194 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/check_urls.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check_urls.vim b/scripts/check_urls.vim
index e23f87966b..b75dc29c48 100644
--- a/scripts/check_urls.vim
+++ b/scripts/check_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