"Fossies" - the Fresh Open Source Software Archive

Member "vim-8.2.1354/runtime/plugin/getscriptPlugin.vim" (2 Aug 2020, 1393 Bytes) of package /linux/misc/vim-8.2.1354.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) vimscript source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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