view ci/if_ver-cmd.vim @ 32645:779ca4c65eeb v9.0.1654

patch 9.0.1654: MS-Windows: test for default 'viewdir' fails Commit: https://github.com/vim/vim/commit/813b7a85f2489e9f698239a9fee17c64da68f435 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 23 22:56:47 2023 +0100 patch 9.0.1654: MS-Windows: test for default 'viewdir' fails Problem: MS-Windows: test for default 'viewdir' fails. Solution: Escape the pattern.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jun 2023 00:00:06 +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>)