]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(glvs): update GetLatestVimScripts plugin
authorGuyBrush <miguel.barro@live.com>
Sun, 8 Sep 2024 17:54:43 +0000 (19:54 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 8 Sep 2024 17:54:43 +0000 (19:54 +0200)
commit609599cc45f871dfda6e75bbacd53cd0ed79d5f1
tree30233dfb14e28cb6e43cf752bdab6c1d6b3c0edb
parent0b2285c96b209feb65ff8163214609198684e683
runtime(glvs): update GetLatestVimScripts plugin

GetLatestVimScripts builtin plugin required several fixes:
* Support for the new vimbal `.vmb` extension introduced in
  [patch 9.0.1797](https://github.com/vim/vim/commit/f97f6bbf56408c0c97b4ddbe81fba858d7455b0d):
  Vimball/Visual Basic filetype detection conflict
* Update the urls from the old `sourceforge.net` to `vim.org`.
  The download url was hardcoded and a new variable is introduced.
* Fix `curl` command line option to set a filename (`-O` uses the remote
  filename and `-o` specifies a filename).
* Replace windows' command to move files. `REN` can only rename files and
  the script actually moves them. My educated guess was that originally
  only renaming was necessary. When the script was modified to move
  files no change was required on linux because `mv` does both.
* Fix Autoinstall support to check `ftplugins` and `pack-plugins` too
  (`pack-plugins` did not exist when the plugin was created).

closes: #15640

Signed-off-by: GuyBrush <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/getscript.vim
runtime/doc/pi_getscript.txt