annotate runtime/plugin/getscriptPlugin.vim @ 1432:bca50c9e1374 v7.1.147

updated for version 7.1-147
author vimboss
date Tue, 30 Oct 2007 16:37:15 +0000
parents 5eb1ac6f92ad
children 18ee39301b82
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
1 " ---------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
2 " getscriptPlugin.vim
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
3 " Author: Charles E. Campbell, Jr.
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
4 " Date: Jul 18, 2006
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
5 " Installing: :help glvs-install
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
6 " Usage: :help glvs
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
7 "
1228
5eb1ac6f92ad updated for version 7.1b
vimboss
parents: 1125
diff changeset
8 " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
1125
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
9 "
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
10 " (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
11 " all the peoples praise Him."
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
12 " ---------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
13 " Initialization: {{{1
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
14 " if you're sourcing this file, surely you can't be
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
15 " expecting vim to be in its vi-compatible mode
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
16 if &cp || exists("g:loaded_getscriptPlugin")
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
17 if &verbose
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
18 echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
19 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
20 finish
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
21 endif
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
22 let g:loaded_getscriptPlugin = 1
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
23 let s:keepfo = &fo
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
24 let s:keepcpo = &cpo
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
25 set cpo&vim
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
26
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
27 " ---------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
28 " Public Interface: {{{1
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
29 com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
30 com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
31 silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
32
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
33 " Restore Options: {{{1
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
34 let &fo = s:keepfo
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
35 let &cpo= s:keepcpo
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
36
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
37 " ---------------------------------------------------------------------
96cd8222a819 updated for version 7.1a
vimboss
parents:
diff changeset
38 " vim: ts=8 sts=2 fdm=marker nowrap