view ci/if_ver-cmd.vim @ 33065:3284c31289f5 v9.0.1820

patch 9.0.1820: Rexx files may not be recognised Commit: https://github.com/vim/vim/commit/e06afb7860805537ccd69966bc03169852c9b378 Author: Doug Kearns <dougkearns@gmail.com> Date: Tue Aug 29 22:21:35 2023 +0200 patch 9.0.1820: Rexx files may not be recognised Problem: Rexx files may not be recognised Solution: Add shebang detection and improve disambiguation of *.cls files closes: #12951 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Doug Kearns <dougkearns@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Aug 2023 22:30: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>)