Mercurial > vim
view ci/if_ver-cmd.vim @ 19415:90e24240904b v8.2.0265
patch 8.2.0265: "eval" after "if 0" doesn't check for following command
Commit: https://github.com/vim/vim/commit/a76b31542e1d83b7d2fe7378439912e800a4d0f6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 16:20:21 2020 +0100
patch 8.2.0265: "eval" after "if 0" doesn't check for following command
Problem: "eval" after "if 0" doesn't check for following command.
Solution: Add "eval" to list of commands that check for a following command.
(closes #5640)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Feb 2020 16: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>)