view ci/if_ver-cmd.vim @ 25577:6b711b01f2ca v8.2.3325

patch 8.2.3325: digraph test fails when LC_ALL is set to "C" Commit: https://github.com/vim/vim/commit/52eb372a04dfc5d5afef238c1b3c4a8e92020837 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 10 21:39:20 2021 +0200 patch 8.2.3325: digraph test fails when LC_ALL is set to "C" Problem: Digraph test fails when LC_ALL is set to "C". Solution: When restoring 'encoding' set it to "utf-8". (closes https://github.com/vim/vim/issues/8742)
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 Aug 2021 21:45:04 +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>)