Mercurial > vim
comparison runtime/autoload/getscript.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | 9b7f90e56753 |
children | 02bd0fe77c68 |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
127 " call Dfunc("GetLatestVimScripts() autoinstall<".s:autoinstall.">") | 127 " call Dfunc("GetLatestVimScripts() autoinstall<".s:autoinstall.">") |
128 | 128 |
129 " insure that wget is executable | 129 " insure that wget is executable |
130 if executable(g:GetLatestVimScripts_wget) != 1 | 130 if executable(g:GetLatestVimScripts_wget) != 1 |
131 echoerr "GetLatestVimScripts needs ".g:GetLatestVimScripts_wget." which apparently is not available on your system" | 131 echoerr "GetLatestVimScripts needs ".g:GetLatestVimScripts_wget." which apparently is not available on your system" |
132 " call Dret("GetLatestVimScripts : wget not executable/availble") | 132 " call Dret("GetLatestVimScripts : wget not executable/available") |
133 return | 133 return |
134 endif | 134 endif |
135 | 135 |
136 " insure that fnameescape() is available | 136 " insure that fnameescape() is available |
137 if !exists("*fnameescape") | 137 if !exists("*fnameescape") |
345 let t_te= &t_te | 345 let t_te= &t_te |
346 let rs = &rs | 346 let rs = &rs |
347 set t_ti= t_te= nors | 347 set t_ti= t_te= nors |
348 | 348 |
349 " put current line on top-of-screen and interpret it into | 349 " put current line on top-of-screen and interpret it into |
350 " a script identifer : used to obtain webpage | 350 " a script identifier : used to obtain webpage |
351 " source identifier : used to identify current version | 351 " source identifier : used to identify current version |
352 " and an associated comment: used to report on what's being considered | 352 " and an associated comment: used to report on what's being considered |
353 if a:0 >= 3 | 353 if a:0 >= 3 |
354 let scriptid = a:1 | 354 let scriptid = a:1 |
355 let srcid = a:2 | 355 let srcid = a:2 |