blob: 8faa029f4d3782ffaa673d38c1131876da6a4353 [file] [log] [blame]
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001" ---------------------------------------------------------------------
2" getscriptPlugin.vim
Bram Moolenaarff034192013-04-24 18:51:19 +02003" Author: Charles E. Campbell
Bram Moolenaar8d043172014-01-23 14:24:41 +01004" Date: Nov 29, 2013
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00005" Installing: :help glvs-install
6" Usage: :help glvs
7"
Bram Moolenaarbae0c162007-05-10 19:30:25 +00008" GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00009"
10" (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let
11" all the peoples praise Him."
12" ---------------------------------------------------------------------
13" Initialization: {{{1
14" if you're sourcing this file, surely you can't be
15" expecting vim to be in its vi-compatible mode
Bram Moolenaar8d043172014-01-23 14:24:41 +010016if exists("g:loaded_getscriptPlugin")
17 finish
18endif
19if &cp
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000020 if &verbose
21 echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
22 endif
23 finish
24endif
Bram Moolenaar8d043172014-01-23 14:24:41 +010025let g:loaded_getscriptPlugin = "v36"
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000026let s:keepcpo = &cpo
27set cpo&vim
28
29" ---------------------------------------------------------------------
30" Public Interface: {{{1
31com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
32com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
Bram Moolenaar29634562020-01-09 21:46:04 +010033sil! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000034
Bram Moolenaar8c8de832008-06-24 22:58:06 +000035" ---------------------------------------------------------------------
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000036" Restore Options: {{{1
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000037let &cpo= s:keepcpo
Bram Moolenaar8c8de832008-06-24 22:58:06 +000038unlet s:keepcpo
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000039
40" ---------------------------------------------------------------------
41" vim: ts=8 sts=2 fdm=marker nowrap