Mercurial > vim
view ci/if_ver-cmd.vim @ 25471:3678a11e71fa v8.2.3272
patch 8.2.3272: cannot use id zero with prop_find()
Commit: https://github.com/vim/vim/commit/e041dde7bb9157644fa5135a252c84924b9ea433
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 1 21:30:12 2021 +0200
patch 8.2.3272: cannot use id zero with prop_find()
Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
Solution: Also accept id zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 21: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>)