From 029f72b1a93430b24b88eb3a72c6114d9f149737 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:09:20 +0200 Subject: Adding upstream version 2:9.1.0016. Signed-off-by: Daniel Baumann --- ci/if_ver-cmd.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ci/if_ver-cmd.vim (limited to 'ci/if_ver-cmd.vim') diff --git a/ci/if_ver-cmd.vim b/ci/if_ver-cmd.vim new file mode 100644 index 0000000..ac5d82a --- /dev/null +++ b/ci/if_ver-cmd.vim @@ -0,0 +1,12 @@ +" 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 print_ver() -- cgit v1.2.3