Mercurial > vim
view runtime/plugin/getscriptPlugin.vim @ 23549:4156f972efb1 v8.2.2317
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
Commit: https://github.com/vim/vim/commit/9e0f883f89c915e08ef5fd9e6bf382af57fa9eb2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 9 12:09:22 2021 +0100
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
Problem: Vim9: command modifier before list unpack doesn't work.
Solution: Only recognize "[" directly after the name. (closes https://github.com/vim/vim/issues/7641)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Jan 2021 12:15:05 +0100 |
parents | 1a951a4beee3 |
children | 02bd0fe77c68 |
line wrap: on
line source
" --------------------------------------------------------------------- " getscriptPlugin.vim " Author: Charles E. Campbell " Date: Nov 29, 2013 " Installing: :help glvs-install " Usage: :help glvs " " GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim " " (Rom 15:11 WEB) Again, "Praise the Lord, all you Gentiles! Let " all the peoples praise Him." " --------------------------------------------------------------------- " Initialization: {{{1 " if you're sourcing this file, surely you can't be " expecting vim to be in its vi-compatible mode if exists("g:loaded_getscriptPlugin") finish endif if &cp if &verbose echo "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)" endif finish endif let g:loaded_getscriptPlugin = "v36" let s:keepcpo = &cpo set cpo&vim " --------------------------------------------------------------------- " Public Interface: {{{1 com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts() com! -nargs=0 GetScripts call getscript#GetLatestVimScripts() sil! com -nargs=0 GLVS call getscript#GetLatestVimScripts() " --------------------------------------------------------------------- " Restore Options: {{{1 let &cpo= s:keepcpo unlet s:keepcpo " --------------------------------------------------------------------- " vim: ts=8 sts=2 fdm=marker nowrap