view ci/if_ver-cmd.vim @ 19987:9cbe7ba51ce5 v8.2.0549

patch 8.2.0549: user systemd files not recognized Commit: https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 12 12:54:52 2020 +0200 patch 8.2.0549: user systemd files not recognized Problem: User systemd files not recognized. Solution: Add filetype patterns. (Kevin Locke, closes https://github.com/vim/vim/issues/5914)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Apr 2020 13:00:07 +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>)