Mercurial > vim
view ci/if_ver-cmd.vim @ 24315:43ac86deea50 v8.2.2698
patch 8.2.2698: Lua test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/b9c6b6fb73711f64943340b2c3f0bdf8744451b6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 3 15:35:50 2021 +0200
patch 8.2.2698: Lua test fails on MS-Windows
Problem: Lua test fails on MS-Windows.
Solution: Fall back to old method if "lua -v" doesn't work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Apr 2021 15:45:14 +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>)