Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 1 | " --------------------------------------------------------------------- |
| 2 | " getscriptPlugin.vim |
Bram Moolenaar | ff03419 | 2013-04-24 18:51:19 +0200 | [diff] [blame] | 3 | " Author: Charles E. Campbell |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 4 | " Date: Jan 07, 2008 |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 5 | " Installing: :help glvs-install |
| 6 | " Usage: :help glvs |
| 7 | " |
Bram Moolenaar | bae0c16 | 2007-05-10 19:30:25 +0000 | [diff] [blame] | 8 | " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 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 |
| 16 | if &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 |
| 21 | endif |
Bram Moolenaar | ff03419 | 2013-04-24 18:51:19 +0200 | [diff] [blame] | 22 | let g:loaded_getscriptPlugin = "v35" |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 23 | let s:keepcpo = &cpo |
| 24 | set cpo&vim |
| 25 | |
| 26 | " --------------------------------------------------------------------- |
| 27 | " Public Interface: {{{1 |
| 28 | com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts() |
| 29 | com! -nargs=0 GetScripts call getscript#GetLatestVimScripts() |
| 30 | silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts() |
| 31 | |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 32 | " --------------------------------------------------------------------- |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 33 | " Restore Options: {{{1 |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 34 | let &cpo= s:keepcpo |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 35 | unlet s:keepcpo |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 36 | |
| 37 | " --------------------------------------------------------------------- |
| 38 | " vim: ts=8 sts=2 fdm=marker nowrap |