view ci/if_ver-cmd.vim @ 22379:e1e24b1dba6e v8.2.1738

patch 8.2.1738: Mac: str2float() recognizes comma instead of decimal point Commit: https://github.com/vim/vim/commit/509f8031b2b347c033327ef33f3e5573a0595dbc Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 24 23:08:19 2020 +0200 patch 8.2.1738: Mac: str2float() recognizes comma instead of decimal point Problem: Mac: str2float() recognizes comma instead of decimal point. Solution: Set LC_NUMERIC to "C". (closes https://github.com/vim/vim/issues/7003)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Sep 2020 23:15: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>)