Mercurial > vim
view ci/if_ver-cmd.vim @ 24216:77cb22562852 v8.2.2649
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error
Commit: https://github.com/vim/vim/commit/1ff89deeaa07a161afbe91f57c340f3758d34f49
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 24 20:08:12 2021 +0100
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error
Problem: Vim9: some wincmd arguments cause a white space error.
Solution: Insert a space before the count. (closes https://github.com/vim/vim/issues/8001)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Mar 2021 20:15:04 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)