Mercurial > vim
view ci/if_ver-cmd.vim @ 25176:af3d0198faad v8.2.3124
patch 8.2.3124: Vim9: no error for white space between option and "=9"
Commit: https://github.com/vim/vim/commit/deb108ba0a8599c1307ddc1507c73e7b60f17d36
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 8 17:35:36 2021 +0200
patch 8.2.3124: Vim9: no error for white space between option and "=9"
Problem: Vim9: no error for white space between option and "=9".
Solution: Check for extraneous white space. (issue https://github.com/vim/vim/issues/8408)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 08 Jul 2021 17:45:03 +0200 |
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>)