view ci/if_ver-cmd.vim @ 23685:eb30aed2059f v8.2.2384

patch 8.2.2384: turtle filetype not recognized Commit: https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 21 14:45:13 2021 +0100 patch 8.2.2384: turtle filetype not recognized Problem: Turtle filetype not recognized. Solution: Add a rule to detect turtle files. (closes https://github.com/vim/vim/issues/7722)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Jan 2021 15:00:05 +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>)