Mercurial > vim
view ci/if_ver-cmd.vim @ 21447:369cde0d5771 v8.2.1274
patch 8.2.1274: Vim9: no error for missing white space at script level
Commit: https://github.com/vim/vim/commit/63be3d4ba01d565e645d8bf7f4dc900fc9011534
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 23 13:11:37 2020 +0200
patch 8.2.1274: Vim9: no error for missing white space at script level
Problem: Vim9: no error for missing white space in assignment at script
level.
Solution: Check for white space. (closes #6495)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jul 2020 13:15:07 +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>)