1" ---------------------------------------------------------------------
2" getscriptPlugin.vim
3"  Author:	Charles E. Campbell, Jr.
4"  Date:	Jul 18, 2006
5"  Installing:	:help glvs-install
6"  Usage:	:help glvs
7"
8" GetLatestVimScripts: 642 1 :AutoInstall: GetLatestVimScripts.vim
9"
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
16if &cp || exists("g:loaded_getscriptPlugin")
17 if &verbose
18  echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
19 endif
20 finish
21endif
22let g:loaded_getscriptPlugin = 1
23let s:keepfo                 = &fo
24let s:keepcpo                = &cpo
25set cpo&vim
26
27" ---------------------------------------------------------------------
28"  Public Interface: {{{1
29com!        -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
30com!        -nargs=0 GetScripts          call getscript#GetLatestVimScripts()
31silent! com -nargs=0 GLVS                call getscript#GetLatestVimScripts()
32
33" Restore Options: {{{1
34let &fo = s:keepfo
35let &cpo= s:keepcpo
36
37" ---------------------------------------------------------------------
38" vim: ts=8 sts=2 fdm=marker nowrap
39