Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 1 | " --------------------------------------------------------------------- |
| 2 | " getscriptPlugin.vim |
Christian Brabandt | f9ca139 | 2024-02-19 20:37:11 +0100 | [diff] [blame] | 3 | " Maintainer: This runtime file is looking for a new maintainer. |
| 4 | " Original Author: Charles E. Campbell |
Bram Moolenaar | 8d04317 | 2014-01-23 14:24:41 +0100 | [diff] [blame] | 5 | " Date: Nov 29, 2013 |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 6 | " Installing: :help glvs-install |
| 7 | " Usage: :help glvs |
| 8 | " |
Bram Moolenaar | bae0c16 | 2007-05-10 19:30:25 +0000 | [diff] [blame] | 9 | " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 10 | " |
| 11 | " (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let |
| 12 | " all the peoples praise Him." |
| 13 | " --------------------------------------------------------------------- |
| 14 | " Initialization: {{{1 |
| 15 | " if you're sourcing this file, surely you can't be |
| 16 | " expecting vim to be in its vi-compatible mode |
Bram Moolenaar | 8d04317 | 2014-01-23 14:24:41 +0100 | [diff] [blame] | 17 | if exists("g:loaded_getscriptPlugin") |
| 18 | finish |
| 19 | endif |
| 20 | if &cp |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 21 | if &verbose |
| 22 | echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)" |
| 23 | endif |
| 24 | finish |
| 25 | endif |
Bram Moolenaar | 8d04317 | 2014-01-23 14:24:41 +0100 | [diff] [blame] | 26 | let g:loaded_getscriptPlugin = "v36" |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 27 | let s:keepcpo = &cpo |
| 28 | set cpo&vim |
| 29 | |
| 30 | " --------------------------------------------------------------------- |
| 31 | " Public Interface: {{{1 |
| 32 | com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts() |
| 33 | com! -nargs=0 GetScripts call getscript#GetLatestVimScripts() |
Bram Moolenaar | 2963456 | 2020-01-09 21:46:04 +0100 | [diff] [blame] | 34 | sil! com -nargs=0 GLVS call getscript#GetLatestVimScripts() |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 35 | |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 36 | " --------------------------------------------------------------------- |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 37 | " Restore Options: {{{1 |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 38 | let &cpo= s:keepcpo |
Bram Moolenaar | 8c8de83 | 2008-06-24 22:58:06 +0000 | [diff] [blame] | 39 | unlet s:keepcpo |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 40 | |
| 41 | " --------------------------------------------------------------------- |
| 42 | " vim: ts=8 sts=2 fdm=marker nowrap |