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