Mercurial > vim
view ci/if_ver-cmd.vim @ 26941:33120321ff2c v8.2.3999
patch 8.2.3999: redundant check for NUL byte
Commit: https://github.com/vim/vim/commit/c024ed9233feac4c8da7394a62bb50474803514f
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Jan 4 16:22:52 2022 +0000
patch 8.2.3999: redundant check for NUL byte
Problem: Redundant check for NUL byte.
Solution: Remove the check for a NUL byte. (closes https://github.com/vim/vim/issues/9471)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 17:30: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>)