blob: 6029b65a8db9c355c67788c66461db86550541ac [file] [log] [blame]
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001" ---------------------------------------------------------------------
2" getscriptPlugin.vim
Christian Brabandtf9ca1392024-02-19 20:37:11 +01003" Maintainer: This runtime file is looking for a new maintainer.
4" Original Author: Charles E. Campbell
Bram Moolenaar8d043172014-01-23 14:24:41 +01005" Date: Nov 29, 2013
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00006" Installing: :help glvs-install
7" Usage: :help glvs
8"
Bram Moolenaarbae0c162007-05-10 19:30:25 +00009" GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000010"
11" (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let
12" all the peoples praise Him."
13" ---------------------------------------------------------------------
14" Initialization: {{{1
15" if you're sourcing this file, surely you can't be
16" expecting vim to be in its vi-compatible mode
Bram Moolenaar8d043172014-01-23 14:24:41 +010017if exists("g:loaded_getscriptPlugin")
18 finish
19endif
20if &cp
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000021 if &verbose
22 echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
23 endif
24 finish
25endif
Bram Moolenaar8d043172014-01-23 14:24:41 +010026let g:loaded_getscriptPlugin = "v36"
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000027let s:keepcpo = &cpo
28set cpo&vim
29
30" ---------------------------------------------------------------------
31" Public Interface: {{{1
32com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
33com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
Bram Moolenaar29634562020-01-09 21:46:04 +010034sil! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000035
Bram Moolenaar8c8de832008-06-24 22:58:06 +000036" ---------------------------------------------------------------------
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000037" Restore Options: {{{1
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000038let &cpo= s:keepcpo
Bram Moolenaar8c8de832008-06-24 22:58:06 +000039unlet s:keepcpo
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000040
41" ---------------------------------------------------------------------
42" vim: ts=8 sts=2 fdm=marker nowrap