summaryrefslogtreecommitdiff
path: root/ci/if_ver-cmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-21 22:13:42 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-21 22:13:42 +0100
commit2387773d933bd6c483e44803db8ec79737ecf7ed (patch)
tree7c870c0ad9edd8698d42ea7b0123753c32115454 /ci/if_ver-cmd.vim
parentf0764e8bb6511aa3bf1d6f52852b4284676ee661 (diff)
downloadvim-git-2387773d933bd6c483e44803db8ec79737ecf7ed.tar.gz
patch 8.2.0140: CI does not test building doc tagsv8.2.0140
Problem: CI does not test building doc tags. Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi, closes #5513)
Diffstat (limited to 'ci/if_ver-cmd.vim')
-rw-r--r--ci/if_ver-cmd.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/if_ver-cmd.vim b/ci/if_ver-cmd.vim
new file mode 100644
index 000000000..ac5d82a05
--- /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 <SID>print_ver(<f-args>)