Mercurial > vim
view ci/if_ver-cmd.vim @ 21739:caf0286cf02b v8.2.1419
patch 8.2.1419: Vim9: not operator applied too early
Commit: https://github.com/vim/vim/commit/59eccb92e3c68f65525e08d2113213ff7d7ed00a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 10 23:09:37 2020 +0200
patch 8.2.1419: Vim9: not operator applied too early
Problem: Vim9: not operator applied too early.
Solution: Implement the "numeric_only" argument. (closes https://github.com/vim/vim/issues/6680)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Aug 2020 23:15: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>)