Mercurial > vim
view ci/if_ver-cmd.vim @ 23334:4b4f695e9cd1 v8.2.2210
patch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OK
Commit: https://github.com/vim/vim/commit/3868f59466ed5ff1c5624f40b93c0034ce62cb82
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 25 13:20:41 2020 +0100
patch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OK
Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
Solution: Add t_number_bool.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Dec 2020 13:30:03 +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>)